Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.1..real|grid.P.2..real|grid.P.3..real|RL.load1.S.1.|RL.load1.S.2.|RL.load2.S.1.|RL.load2.S.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001853/0.001853, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001744/0.001744, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.446/1.446, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.273/2.273, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8977/0.8995, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.03571/0.9352, allocations: 26.37 MB / 1.114 GB, free: 3.824 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.2025/1.138, allocations: 157.7 MB / 1.268 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006181/1.144, allocations: 79.69 kB / 1.268 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.006154/1.15, allocations: 1.881 MB / 1.27 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007609/1.158, allocations: 1.794 MB / 1.272 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008475/1.166, allocations: 2.889 MB / 1.275 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009266/1.176, allocations: 6.738 MB / 1.281 GB, free: 8.426 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01255/1.188, allocations: 7.917 MB / 1.289 GB, free: 420 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004674/1.193, allocations: 2.816 MB / 1.292 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004986/1.198, allocations: 3.219 MB / 1.295 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002011/1.2, allocations: 0.7344 MB / 1.296 GB, free: 9.617 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003846/1.204, allocations: 1.483 MB / 1.297 GB, free: 8.137 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.003245/1.207, allocations: 2.186 MB / 1.299 GB, free: 5.945 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005627/1.213, allocations: 2.933 MB / 1.302 GB, free: 3 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01252/1.225, allocations: 9.527 MB / 1.312 GB, free: 9.445 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.225, allocations: 0 / 1.312 GB, free: 9.445 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.823e-06/1.225, allocations: 0 / 1.312 GB, free: 9.445 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0003542/1.226, allocations: 0 / 1.312 GB, free: 9.445 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01474/1.24, allocations: 5.301 MB / 1.317 GB, free: 4.062 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.24, allocations: 8.031 kB / 1.317 GB, free: 4.055 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01431/1.255, allocations: 2.051 MB / 1.319 GB, free: 1.996 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007118/1.262, allocations: 2.721 MB / 1.321 GB, free: 15.21 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005312/1.263, allocations: 365.6 kB / 1.322 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002184/1.265, allocations: 479.9 kB / 1.322 GB, free: 14.39 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0211/1.286, allocations: 7.35 MB / 1.329 GB, free: 6.809 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001938/1.286, allocations: 7.938 kB / 1.329 GB, free: 6.801 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001591/1.288, allocations: 212 kB / 1.33 GB, free: 6.594 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003449/1.288, allocations: 260.5 kB / 1.33 GB, free: 6.336 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01879/1.307, allocations: 7.102 MB / 1.337 GB, free: 15.21 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04717/1.354, allocations: 27.37 MB / 1.363 GB, free: 2.219 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01122/1.365, allocations: 4.51 MB / 1.368 GB, free: 13.67 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00505/1.37, allocations: 2.204 MB / 1.37 GB, free: 11.45 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008695/1.371, allocations: 0.519 MB / 1.371 GB, free: 10.83 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005842/1.377, allocations: 2.486 MB / 1.373 GB, free: 8.277 MB / 1.107 GB Notification: Performance of pre-optimization done (n=277): time 5.871e-06/1.377, allocations: 0 / 1.373 GB, free: 8.277 MB / 1.107 GB Notification: Performance of matching and sorting (n=280): time 0.01971/1.397, allocations: 8.473 MB / 1.381 GB, free: 15.71 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001825/1.397, allocations: 398 kB / 1.382 GB, free: 15.23 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00309/1.4, allocations: 1.92 MB / 1.383 GB, free: 13.27 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003978/1.401, allocations: 81.69 kB / 1.384 GB, free: 13.19 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001612/1.402, allocations: 1.88 MB / 1.385 GB, free: 11.28 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009888/1.403, allocations: 0.9243 MB / 1.386 GB, free: 10.34 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/1.405, allocations: 0.6077 MB / 1.387 GB, free: 9.727 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 9.217e-05/1.405, allocations: 301.1 kB / 1.387 GB, free: 9.43 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/1.409, allocations: 1.842 MB / 1.389 GB, free: 7.578 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005428/1.415, allocations: 2.531 MB / 1.391 GB, free: 4.777 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/1.425, allocations: 4.339 MB / 1.396 GB, free: 172 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.811e-05/1.425, allocations: 8 kB / 1.396 GB, free: 164 kB / 1.123 GB Notification: Performance of matching and sorting (n=385) (initialization): time 0.01262/1.438, allocations: 4.752 MB / 1.4 GB, free: 11.36 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/1.438, allocations: 12 kB / 1.4 GB, free: 11.35 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-05/1.438, allocations: 23.94 kB / 1.4 GB, free: 11.33 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.62e-05/1.438, allocations: 32.81 kB / 1.4 GB, free: 11.3 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004744/1.443, allocations: 0.8931 MB / 1.401 GB, free: 10.4 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.464e-05/1.443, allocations: 43.86 kB / 1.401 GB, free: 10.36 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00392/1.447, allocations: 434 kB / 1.402 GB, free: 9.934 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004831/1.447, allocations: 155.9 kB / 1.402 GB, free: 9.781 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006545/1.454, allocations: 2.813 MB / 1.405 GB, free: 6.961 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005087/1.459, allocations: 2.396 MB / 1.407 GB, free: 4.277 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009395/1.468, allocations: 4.04 MB / 1.411 GB, free: 15.99 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.34e-05/1.468, allocations: 4 kB / 1.411 GB, free: 15.98 MB / 1.154 GB Notification: Performance of matching and sorting (n=385) (initialization_lambda0): time 0.01235/1.481, allocations: 4.432 MB / 1.415 GB, free: 11.54 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/1.481, allocations: 12 kB / 1.415 GB, free: 11.53 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/1.481, allocations: 20 kB / 1.415 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.336e-05/1.481, allocations: 35.94 kB / 1.415 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004777/1.486, allocations: 0.8386 MB / 1.416 GB, free: 10.64 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.473e-05/1.486, allocations: 47.86 kB / 1.416 GB, free: 10.59 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/1.49, allocations: 394.1 kB / 1.417 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005965/1.491, allocations: 151.9 kB / 1.417 GB, free: 10.05 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 29 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,pvOriented.HDirTil.incAng.decAng.tNext,$PRE.pvOriented.HDirTil.incAng.decAng.tNext,pvOriented.HDifTil.incAng.decAng.tNext,$PRE.pvOriented.HDifTil.incAng.decAng.tNext,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,HDirTil.incAng.decAng.tNext,$PRE.HDirTil.incAng.decAng.tNext,HDifTil.incAng.decAng.tNext,$PRE.HDifTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (385): * Single equations (assignments): 385 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001316/1.492, allocations: 383.4 kB / 1.417 GB, free: 9.672 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001021/1.493, allocations: 264.8 kB / 1.417 GB, free: 9.41 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/1.507, allocations: 4.896 MB / 1.422 GB, free: 4.461 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.383e-05/1.507, allocations: 15.94 kB / 1.422 GB, free: 4.445 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.834e-06/1.507, allocations: 0 / 1.422 GB, free: 4.445 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002152/1.509, allocations: 0.8249 MB / 1.423 GB, free: 3.598 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/1.51, allocations: 75.78 kB / 1.423 GB, free: 3.523 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004002/1.514, allocations: 431.4 kB / 1.423 GB, free: 3.102 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000564/1.515, allocations: 186.1 kB / 1.424 GB, free: 2.918 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01301/1.528, allocations: 4.856 MB / 1.428 GB, free: 14.01 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01102/1.539, allocations: 4.712 MB / 1.433 GB, free: 9.227 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00484/1.544, allocations: 2.064 MB / 1.435 GB, free: 7.148 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002934/1.547, allocations: 1.4 MB / 1.436 GB, free: 5.734 MB / 1.17 GB Notification: Performance of Backend: time 6.71e-07/1.547, allocations: 4 kB / 1.436 GB, free: 5.73 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.01765/1.564, allocations: 5.821 MB / 1.442 GB, free: 152 kB / 1.17 GB Notification: Performance of SimCode: time 0.0167/1.581, allocations: 7.364 MB / 1.449 GB, free: 8.762 MB / 1.186 GB Notification: Performance of Templates: time 0.1375/1.719, allocations: 81.04 MB / 1.528 GB, free: 8.102 MB / 1.264 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches