Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|RL.S.1.|RL.S.2.|generator.S.1.|generator.S.2.|grid.sou.S.1.|grid.sou.S.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 109 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 188.3 kB / 17.35 MB, free: 5.738 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.436/1.436, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.584/2.584, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 68.11 kB / 1.019 GB, free: 9.383 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9398/0.9412, allocations: 151.6 MB / 1.167 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource): time 0.009411/0.9507, allocations: 3.543 MB / 1.171 GB, free: 396 kB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.006234/0.957, allocations: 1.89 MB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002676/0.9573, allocations: 8 kB / 1.173 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001169/0.9585, allocations: 250.9 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001044/0.9595, allocations: 219 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.9609, allocations: 251.3 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0007335/0.9616, allocations: 386.8 kB / 1.174 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005836/0.9622, allocations: 221.8 kB / 1.174 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/0.9626, allocations: 159.4 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005088/0.9631, allocations: 183.3 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.077e-05/0.9632, allocations: 27.94 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008453/0.9641, allocations: 291.4 kB / 1.175 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000177/0.9643, allocations: 95.72 kB / 1.175 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.9645, allocations: 147.2 kB / 1.175 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.9655, allocations: 492.4 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.9656, allocations: 0 / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9656, allocations: 0 / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.569e-05/0.9656, allocations: 4 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001957/0.9676, allocations: 0.6408 MB / 1.176 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.9676, allocations: 8.922 kB / 1.176 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001713/0.9694, allocations: 124.4 kB / 1.176 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/0.97, allocations: 289.2 kB / 1.176 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.97, allocations: 16.81 kB / 1.176 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.982e-05/0.9701, allocations: 16.38 kB / 1.176 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/0.9716, allocations: 426.9 kB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.9716, allocations: 3.938 kB / 1.177 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/0.9717, allocations: 8 kB / 1.177 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.595e-05/0.9718, allocations: 24.36 kB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001742/0.9736, allocations: 404.8 kB / 1.177 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.9766, allocations: 1.63 MB / 1.179 GB, free: 7.988 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.9787, allocations: 473 kB / 1.179 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/0.9795, allocations: 197.5 kB / 1.179 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/0.9797, allocations: 97.08 kB / 1.179 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009509/0.9807, allocations: 270.5 kB / 1.18 GB, free: 6.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=27): time 2.484e-06/0.9807, allocations: 4 kB / 1.18 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of matching and sorting (n=28): time 0.003117/0.9839, allocations: 0.7578 MB / 1.18 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.9839, allocations: 85.05 kB / 1.181 GB, free: 6.02 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003641/0.9843, allocations: 225 kB / 1.181 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.9844, allocations: 33.7 kB / 1.181 GB, free: 5.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.9846, allocations: 168.3 kB / 1.181 GB, free: 5.578 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/0.9847, allocations: 90.66 kB / 1.181 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.9849, allocations: 65.69 kB / 1.181 GB, free: 5.418 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.9851, allocations: 334.8 kB / 1.181 GB, free: 5.082 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/0.986, allocations: 181.1 kB / 1.182 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000926/0.9869, allocations: 253.3 kB / 1.182 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001719/0.9887, allocations: 462.4 kB / 1.182 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9887, allocations: 0 / 1.182 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00215/0.9908, allocations: 0.5437 MB / 1.183 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.9909, allocations: 41.58 kB / 1.183 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.991, allocations: 0 / 1.183 GB, free: 3.531 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003761/0.9913, allocations: 48.75 kB / 1.183 GB, free: 3.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000791/0.9922, allocations: 88.02 kB / 1.183 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.9946, allocations: 1.615 MB / 1.185 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.9953, allocations: 47.8 kB / 1.185 GB, free: 1.59 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.927e-05/0.9954, allocations: 12 kB / 1.185 GB, free: 1.578 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001014/0.9964, allocations: 288.1 kB / 1.185 GB, free: 1.293 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008473/0.9973, allocations: 242 kB / 1.185 GB, free: 1.023 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0017/0.999, allocations: 456.8 kB / 1.186 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.928e-06/0.9991, allocations: 0 / 1.186 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.002212/1.001, allocations: 0.5248 MB / 1.186 GB, free: 15.99 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/1.001, allocations: 37.98 kB / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.001, allocations: 0 / 1.186 GB, free: 15.95 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002997/1.002, allocations: 44.81 kB / 1.186 GB, free: 15.9 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/1.002, allocations: 83.86 kB / 1.186 GB, free: 15.82 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002245/1.005, allocations: 1.596 MB / 1.188 GB, free: 14.08 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006146/1.005, allocations: 47.77 kB / 1.188 GB, free: 14.03 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/1.005, allocations: 20.06 kB / 1.188 GB, free: 14.01 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002894/1.006, allocations: 206.1 kB / 1.188 GB, free: 13.8 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/1.006, allocations: 27.72 kB / 1.188 GB, free: 13.78 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/1.008, allocations: 473.1 kB / 1.188 GB, free: 13.31 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/1.008, allocations: 8.125 kB / 1.189 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.008, allocations: 3.938 kB / 1.189 GB, free: 13.3 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002532/1.008, allocations: 136.7 kB / 1.189 GB, free: 13.14 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.196e-05/1.008, allocations: 12.06 kB / 1.189 GB, free: 13.13 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/1.009, allocations: 43.92 kB / 1.189 GB, free: 13.09 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001652/1.009, allocations: 27.91 kB / 1.189 GB, free: 13.06 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00221/1.011, allocations: 0.6138 MB / 1.189 GB, free: 12.44 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002359/1.014, allocations: 0.8417 MB / 1.19 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006919/1.014, allocations: 175.9 kB / 1.19 GB, free: 11.41 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0004689/1.015, allocations: 184.5 kB / 1.19 GB, free: 11.23 MB / 0.92 GB Notification: Performance of Backend: time 3.126e-06/1.015, allocations: 0 / 1.19 GB, free: 11.23 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004264/1.019, allocations: 1.065 MB / 1.192 GB, free: 10.11 MB / 0.92 GB Notification: Performance of SimCode: time 0.001973/1.021, allocations: 0.9534 MB / 1.192 GB, free: 9.109 MB / 0.92 GB Notification: Performance of Templates: time 0.02171/1.043, allocations: 7.84 MB / 1.2 GB, free: 1.293 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_VariablePowerSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches