Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 200 kB / 16.79 MB, free: 6.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.2 MB / 0.6649 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 55.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6489/0.6503, allocations: 140.4 MB / 0.9496 GB, free: 9.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004793/0.6551, allocations: 3.795 MB / 0.9533 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002791/0.658, allocations: 1.799 MB / 0.9551 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.6585, allocations: 16.5 kB / 0.9551 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0009183/0.6595, allocations: 233.9 kB / 0.9553 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007923/0.6603, allocations: 282.7 kB / 0.9556 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005761/0.6609, allocations: 217.2 kB / 0.9558 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008246/0.6617, allocations: 0.7451 MB / 0.9565 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004623/0.6622, allocations: 246.3 kB / 0.9567 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.6625, allocations: 214.7 kB / 0.9569 GB, free: 3.5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002683/0.6628, allocations: 235 kB / 0.9572 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.467e-05/0.6628, allocations: 20.92 kB / 0.9572 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005555/0.6634, allocations: 341.8 kB / 0.9575 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.6635, allocations: 118.4 kB / 0.9576 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.6637, allocations: 193.3 kB / 0.9578 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004399/0.6641, allocations: 453.7 kB / 0.9582 GB, free: 2.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.6642, allocations: 4.906 kB / 0.9582 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.52e-07/0.6642, allocations: 0 / 0.9582 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.6642, allocations: 0 / 0.9582 GB, free: 2.676 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001025/0.6652, allocations: 0.7315 MB / 0.959 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6653, allocations: 10.06 kB / 0.959 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008736/0.6661, allocations: 133 kB / 0.9591 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.6666, allocations: 379.6 kB / 0.9595 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/0.6666, allocations: 20.91 kB / 0.9595 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.411e-05/0.6667, allocations: 35.22 kB / 0.9595 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007836/0.6675, allocations: 0.5491 MB / 0.96 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.6675, allocations: 5 kB / 0.9601 GB, free: 1.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.756e-05/0.6676, allocations: 16.98 kB / 0.9601 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.641e-05/0.6676, allocations: 41.78 kB / 0.9601 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006871/0.6683, allocations: 413 kB / 0.9605 GB, free: 0.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002778/0.6711, allocations: 3.34 MB / 0.9638 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007164/0.6718, allocations: 334.2 kB / 0.9641 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003081/0.6722, allocations: 177.6 kB / 0.9643 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.746e-05/0.6722, allocations: 6.5 kB / 0.9643 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.6722, allocations: 41.06 kB / 0.9643 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=26): time 2.775e-06/0.6722, allocations: 0 / 0.9643 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of matching and sorting (n=27): time 0.002201/0.6745, allocations: 1.063 MB / 0.9653 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.6745, allocations: 54.92 kB / 0.9654 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.6749, allocations: 339.3 kB / 0.9657 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.6749, allocations: 31.05 kB / 0.9657 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000166/0.6751, allocations: 241.6 kB / 0.966 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.508e-05/0.6752, allocations: 100 kB / 0.9661 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.6753, allocations: 79.78 kB / 0.9661 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6755, allocations: 343.5 kB / 0.9665 GB, free: 11.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.6757, allocations: 153.8 kB / 0.9666 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.6761, allocations: 291.1 kB / 0.9669 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006949/0.6768, allocations: 485.9 kB / 0.9674 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.6768, allocations: 1.906 kB / 0.9674 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00105/0.6779, allocations: 0.5603 MB / 0.9679 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.6779, allocations: 7.281 kB / 0.9679 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.678, allocations: 5.438 kB / 0.9679 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003375/0.6783, allocations: 89.72 kB / 0.968 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.6787, allocations: 92.86 kB / 0.9681 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.6787, allocations: 14.33 kB / 0.9681 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000307/0.679, allocations: 34.41 kB / 0.9681 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.6791, allocations: 18.47 kB / 0.9682 GB, free: 10.56 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.6793, allocations: 163.3 kB / 0.9683 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.421e-05/0.6794, allocations: 40 kB / 0.9684 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009229/0.6803, allocations: 474.1 kB / 0.9688 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.6803, allocations: 7.234 kB / 0.9688 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.6803, allocations: 0.9375 kB / 0.9688 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.6803, allocations: 1.031 kB / 0.9688 GB, free: 10.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001536/0.6819, allocations: 0.9619 MB / 0.9698 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6819, allocations: 1.094 kB / 0.9698 GB, free: 9.379 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.6821, allocations: 52.27 kB / 0.9698 GB, free: 9.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002452/0.6824, allocations: 84.52 kB / 0.9699 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.6824, allocations: 6.75 kB / 0.9699 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.6824, allocations: 1.438 kB / 0.9699 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6824, allocations: 1.375 kB / 0.9699 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000841/0.6833, allocations: 0.5425 MB / 0.9704 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001556/0.6834, allocations: 137.2 kB / 0.9706 GB, free: 8.793 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.335e-05/0.6835, allocations: 6.25 kB / 0.9706 GB, free: 8.789 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002305/0.6837, allocations: 22.94 kB / 0.9706 GB, free: 8.777 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.205e-05/0.6838, allocations: 26.42 kB / 0.9706 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.6839, allocations: 10.19 kB / 0.9706 GB, free: 8.758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002454/0.6841, allocations: 241.1 kB / 0.9708 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6841, allocations: 1.125 kB / 0.9708 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004507/0.6846, allocations: 84.5 kB / 0.9709 GB, free: 8.594 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001399/0.6847, allocations: 105.2 kB / 0.971 GB, free: 8.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009165/0.6856, allocations: 0.6364 MB / 0.9716 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6857, allocations: 0 / 0.9716 GB, free: 8.008 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.6861, allocations: 437.9 kB / 0.9721 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.6869, allocations: 121.1 kB / 0.9722 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.6882, allocations: 0.9179 MB / 0.9731 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004331/0.6887, allocations: 0.8249 MB / 0.9739 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.6888, allocations: 31.28 kB / 0.9739 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of SimCode: time 4.71e-07/0.6888, allocations: 0 / 0.9739 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of Templates: time 0.01294/0.7017, allocations: 9.43 MB / 0.9831 GB, free: 14.73 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches