Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 114 kB / 16.42 MB, free: 6.402 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.001547/0.001547, allocations: 183.9 kB / 17.35 MB, free: 5.719 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.816/2.816, allocations: 469.4 MB / 0.7428 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 67.84 kB / 1.065 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9182/0.9197, allocations: 159.1 MB / 1.221 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.03152/0.9513, allocations: 27.67 MB / 1.248 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.1734/1.125, allocations: 157.7 MB / 1.402 GB, free: 8.301 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003973/1.129, allocations: 75.69 kB / 1.402 GB, free: 8.227 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004472/1.133, allocations: 1.416 MB / 1.403 GB, free: 6.805 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.005895/1.139, allocations: 1.763 MB / 1.405 GB, free: 5.039 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.006821/1.146, allocations: 2.716 MB / 1.408 GB, free: 2.328 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.009994/1.156, allocations: 6.544 MB / 1.414 GB, free: 11.77 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01312/1.169, allocations: 7.594 MB / 1.422 GB, free: 4.082 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004673/1.174, allocations: 2.676 MB / 1.424 GB, free: 1.398 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005196/1.179, allocations: 3.06 MB / 1.427 GB, free: 14.33 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.002162/1.181, allocations: 0.6875 MB / 1.428 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003825/1.185, allocations: 1.354 MB / 1.429 GB, free: 12.29 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.003312/1.189, allocations: 2.015 MB / 1.431 GB, free: 10.27 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.005766/1.194, allocations: 2.801 MB / 1.434 GB, free: 7.453 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01354/1.208, allocations: 8.939 MB / 1.443 GB, free: 14.49 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/1.208, allocations: 0 / 1.443 GB, free: 14.49 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.854e-06/1.208, allocations: 0 / 1.443 GB, free: 14.49 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0004173/1.208, allocations: 0 / 1.443 GB, free: 14.49 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1192 * Number of variables: 1192 Notification: Performance of Generate backend data structure: time 0.01783/1.226, allocations: 5.059 MB / 1.448 GB, free: 9.344 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.213e-05/1.226, allocations: 8.625 kB / 1.448 GB, free: 9.336 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01469/1.241, allocations: 1.977 MB / 1.449 GB, free: 7.352 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00676/1.248, allocations: 2.535 MB / 1.452 GB, free: 4.758 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003988/1.248, allocations: 349.1 kB / 1.452 GB, free: 4.414 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/1.25, allocations: 440 kB / 1.453 GB, free: 3.984 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01997/1.27, allocations: 6.873 MB / 1.459 GB, free: 12.91 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001982/1.27, allocations: 11.94 kB / 1.459 GB, free: 12.9 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001474/1.272, allocations: 188 kB / 1.46 GB, free: 12.72 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003118/1.272, allocations: 236 kB / 1.46 GB, free: 12.48 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01825/1.29, allocations: 6.745 MB / 1.466 GB, free: 5.715 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04181/1.332, allocations: 24.97 MB / 1.491 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/1.344, allocations: 4.383 MB / 1.495 GB, free: 6.75 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005211/1.349, allocations: 1.98 MB / 1.497 GB, free: 4.758 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000964/1.35, allocations: 0.5151 MB / 1.498 GB, free: 4.148 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006289/1.356, allocations: 2.287 MB / 1.5 GB, free: 1.797 MB / 1.217 GB Notification: Performance of pre-optimization done (n=263): time 8.456e-06/1.356, allocations: 4 kB / 1.5 GB, free: 1.793 MB / 1.217 GB Notification: Performance of matching and sorting (n=266): time 0.02039/1.377, allocations: 7.755 MB / 1.507 GB, free: 9.941 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001809/1.377, allocations: 393.9 kB / 1.508 GB, free: 9.469 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002946/1.38, allocations: 1.848 MB / 1.51 GB, free: 7.578 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0004987/1.38, allocations: 81.7 kB / 1.51 GB, free: 7.492 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001687/1.382, allocations: 1.782 MB / 1.511 GB, free: 5.688 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001072/1.383, allocations: 0.8665 MB / 1.512 GB, free: 4.809 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001347/1.384, allocations: 0.5957 MB / 1.513 GB, free: 4.203 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 8.635e-05/1.385, allocations: 305.1 kB / 1.513 GB, free: 3.902 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004569/1.389, allocations: 1.72 MB / 1.515 GB, free: 2.172 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005142/1.394, allocations: 2.418 MB / 1.517 GB, free: 15.47 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0099/1.404, allocations: 4.129 MB / 1.521 GB, free: 11.06 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.368e-05/1.404, allocations: 4 kB / 1.521 GB, free: 11.05 MB / 1.248 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01162/1.416, allocations: 4.504 MB / 1.526 GB, free: 6.504 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.252e-05/1.416, allocations: 16 kB / 1.526 GB, free: 6.488 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-05/1.416, allocations: 16 kB / 1.526 GB, free: 6.473 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.266e-05/1.416, allocations: 32 kB / 1.526 GB, free: 6.441 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004646/1.421, allocations: 0.8738 MB / 1.526 GB, free: 5.566 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.121e-05/1.421, allocations: 47.8 kB / 1.527 GB, free: 5.52 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003907/1.425, allocations: 422 kB / 1.527 GB, free: 5.105 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000462/1.425, allocations: 151.9 kB / 1.527 GB, free: 4.957 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006478/1.432, allocations: 2.68 MB / 1.53 GB, free: 2.27 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005116/1.437, allocations: 2.323 MB / 1.532 GB, free: 15.66 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009291/1.446, allocations: 3.91 MB / 1.536 GB, free: 11.49 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-05/1.446, allocations: 8 kB / 1.536 GB, free: 11.48 MB / 1.264 GB Notification: Performance of matching and sorting (n=375) (initialization_lambda0): time 0.0124/1.459, allocations: 4.283 MB / 1.54 GB, free: 7.184 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/1.459, allocations: 16 kB / 1.54 GB, free: 7.168 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.934e-05/1.459, allocations: 16.91 kB / 1.54 GB, free: 7.152 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.088e-05/1.459, allocations: 32 kB / 1.54 GB, free: 7.121 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004752/1.463, allocations: 0.8385 MB / 1.541 GB, free: 6.281 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.88e-05/1.464, allocations: 43.86 kB / 1.541 GB, free: 6.238 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004351/1.468, allocations: 404.9 kB / 1.541 GB, free: 5.844 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007844/1.469, allocations: 151.9 kB / 1.541 GB, free: 5.695 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (375): * Single equations (assignments): 375 * 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.001453/1.47, allocations: 384.1 kB / 1.542 GB, free: 5.316 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009948/1.471, allocations: 245 kB / 1.542 GB, free: 5.074 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01311/1.484, allocations: 4.501 MB / 1.546 GB, free: 0.5156 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.081e-05/1.484, allocations: 11.95 kB / 1.546 GB, free: 0.5039 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/1.484, allocations: 0 / 1.546 GB, free: 0.5039 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00216/1.487, allocations: 0.7705 MB / 1.547 GB, free: 15.71 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008662/1.487, allocations: 67.75 kB / 1.547 GB, free: 15.64 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003878/1.491, allocations: 383.5 kB / 1.548 GB, free: 15.27 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00054/1.492, allocations: 182 kB / 1.548 GB, free: 15.09 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0137/1.506, allocations: 4.486 MB / 1.552 GB, free: 10.55 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01069/1.516, allocations: 4.344 MB / 1.556 GB, free: 6.129 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00447/1.521, allocations: 1.891 MB / 1.558 GB, free: 4.223 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002737/1.524, allocations: 1.338 MB / 1.56 GB, free: 2.867 MB / 1.279 GB Notification: Performance of Backend: time 1.032e-06/1.524, allocations: 0 / 1.56 GB, free: 2.867 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.7508/2.274, allocations: 5.564 MB / 1.565 GB, free: 330.4 MB / 1.279 GB Notification: Performance of SimCode: time 0.01448/2.289, allocations: 6.905 MB / 1.572 GB, free: 327.1 MB / 1.279 GB Notification: Performance of Templates: time 0.1121/2.401, allocations: 77 MB / 1.647 GB, free: 266.1 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches