Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001328/0.001328, allocations: 109 kB / 16.41 MB, free: 6.457 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.001379/0.001379, allocations: 190.7 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.577/1.577, 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 10.1.1-maint.10.0.x/package.mo): time 2.751/2.751, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 59.91 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9305/0.932, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.03689/0.969, allocations: 28.84 MB / 1.195 GB, free: 6.871 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1811/1.15, allocations: 158 MB / 1.35 GB, free: 8.305 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00314/1.153, allocations: 79.69 kB / 1.35 GB, free: 8.227 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005437/1.159, allocations: 1.957 MB / 1.352 GB, free: 6.262 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005976/1.165, allocations: 1.998 MB / 1.354 GB, free: 4.258 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006477/1.171, allocations: 2.91 MB / 1.357 GB, free: 1.355 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008887/1.18, allocations: 7.145 MB / 1.363 GB, free: 10.19 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0101/1.19, allocations: 7.834 MB / 1.371 GB, free: 2.27 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005291/1.196, allocations: 2.863 MB / 1.374 GB, free: 15.4 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006149/1.202, allocations: 3.282 MB / 1.377 GB, free: 12.11 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001801/1.204, allocations: 0.7422 MB / 1.378 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003387/1.207, allocations: 1.483 MB / 1.379 GB, free: 9.879 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.00242/1.209, allocations: 2.182 MB / 1.381 GB, free: 7.691 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003667/1.213, allocations: 2.999 MB / 1.384 GB, free: 4.68 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009975/1.223, allocations: 9.656 MB / 1.394 GB, free: 11 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/1.223, allocations: 0 / 1.394 GB, free: 11 MB / 1.123 GB Notification: Performance of FrontEnd: time 2.214e-06/1.223, allocations: 0 / 1.394 GB, free: 11 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0002506/1.223, allocations: 0 / 1.394 GB, free: 11 MB / 1.123 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.01303/1.236, allocations: 5.363 MB / 1.399 GB, free: 5.547 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.236, allocations: 8.922 kB / 1.399 GB, free: 5.539 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01412/1.251, allocations: 2.043 MB / 1.401 GB, free: 3.488 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006494/1.257, allocations: 2.72 MB / 1.404 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/1.257, allocations: 365.7 kB / 1.404 GB, free: 360 kB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001398/1.259, allocations: 480 kB / 1.405 GB, free: 15.88 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01861/1.278, allocations: 7.346 MB / 1.412 GB, free: 8.305 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000107/1.278, allocations: 7.938 kB / 1.412 GB, free: 8.297 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006368/1.278, allocations: 204 kB / 1.412 GB, free: 8.098 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003276/1.279, allocations: 268.5 kB / 1.412 GB, free: 7.832 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01915/1.298, allocations: 7.11 MB / 1.419 GB, free: 0.7031 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04866/1.347, allocations: 28.17 MB / 1.447 GB, free: 2.719 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/1.358, allocations: 4.511 MB / 1.451 GB, free: 14.16 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005705/1.364, allocations: 2.199 MB / 1.453 GB, free: 11.95 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009952/1.365, allocations: 0.515 MB / 1.454 GB, free: 11.34 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006362/1.372, allocations: 2.486 MB / 1.456 GB, free: 8.781 MB / 1.186 GB Notification: Performance of pre-optimization done (n=277): time 1.101e-05/1.372, allocations: 7.984 kB / 1.456 GB, free: 8.773 MB / 1.186 GB Notification: Performance of matching and sorting (n=280): time 0.02349/1.395, allocations: 8.473 MB / 1.464 GB, free: 208 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002269/1.395, allocations: 394 kB / 1.465 GB, free: 15.73 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003059/1.398, allocations: 1.928 MB / 1.467 GB, free: 13.77 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0005698/1.399, allocations: 77.64 kB / 1.467 GB, free: 13.68 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001725/1.401, allocations: 1.884 MB / 1.469 GB, free: 11.77 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001082/1.402, allocations: 0.9127 MB / 1.469 GB, free: 10.85 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001341/1.403, allocations: 0.6115 MB / 1.47 GB, free: 10.23 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001099/1.403, allocations: 301.1 kB / 1.47 GB, free: 9.93 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004664/1.408, allocations: 1.85 MB / 1.472 GB, free: 8.07 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005248/1.413, allocations: 2.535 MB / 1.475 GB, free: 5.262 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/1.424, allocations: 4.347 MB / 1.479 GB, free: 0.6445 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-05/1.424, allocations: 4 kB / 1.479 GB, free: 0.6406 MB / 1.201 GB Notification: Performance of matching and sorting (n=385) (initialization): time 0.01264/1.436, allocations: 4.76 MB / 1.483 GB, free: 11.84 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.724e-05/1.436, allocations: 16 kB / 1.484 GB, free: 11.82 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-05/1.436, allocations: 19.94 kB / 1.484 GB, free: 11.8 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.756e-05/1.437, allocations: 32 kB / 1.484 GB, free: 11.77 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004823/1.441, allocations: 0.8976 MB / 1.484 GB, free: 10.87 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.82e-05/1.441, allocations: 47.84 kB / 1.484 GB, free: 10.82 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004341/1.446, allocations: 426 kB / 1.485 GB, free: 10.41 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006028/1.446, allocations: 159.9 kB / 1.485 GB, free: 10.25 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007536/1.454, allocations: 2.821 MB / 1.488 GB, free: 7.422 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005427/1.459, allocations: 2.384 MB / 1.49 GB, free: 4.758 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01007/1.47, allocations: 4.048 MB / 1.494 GB, free: 472 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.7e-05/1.47, allocations: 7.938 kB / 1.494 GB, free: 464 kB / 1.217 GB Notification: Performance of matching and sorting (n=385) (initialization_lambda0): time 0.01281/1.482, allocations: 4.428 MB / 1.498 GB, free: 12.02 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/1.483, allocations: 19.97 kB / 1.498 GB, free: 12 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.05e-05/1.483, allocations: 20 kB / 1.498 GB, free: 11.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.061e-05/1.483, allocations: 35.94 kB / 1.498 GB, free: 11.94 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004674/1.487, allocations: 0.8462 MB / 1.499 GB, free: 11.09 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-05/1.487, allocations: 39.92 kB / 1.499 GB, free: 11.05 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003974/1.491, allocations: 406 kB / 1.5 GB, free: 10.66 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005145/1.492, allocations: 151.9 kB / 1.5 GB, free: 10.51 MB / 1.232 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.001146/1.493, allocations: 389.7 kB / 1.5 GB, free: 10.12 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009458/1.494, allocations: 272.6 kB / 1.501 GB, free: 9.852 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01312/1.507, allocations: 4.885 MB / 1.505 GB, free: 4.914 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.481e-05/1.507, allocations: 15.94 kB / 1.505 GB, free: 4.898 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/1.507, allocations: 4 kB / 1.505 GB, free: 4.895 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002119/1.509, allocations: 0.8211 MB / 1.506 GB, free: 4.051 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000861/1.51, allocations: 71.73 kB / 1.506 GB, free: 3.98 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004263/1.515, allocations: 429.1 kB / 1.507 GB, free: 3.562 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005946/1.515, allocations: 190 kB / 1.507 GB, free: 3.375 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01447/1.53, allocations: 4.856 MB / 1.512 GB, free: 14.47 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0116/1.541, allocations: 4.711 MB / 1.516 GB, free: 9.688 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004988/1.546, allocations: 2.064 MB / 1.518 GB, free: 7.609 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00319/1.55, allocations: 1.4 MB / 1.519 GB, free: 6.195 MB / 1.248 GB Notification: Performance of Backend: time 1.213e-06/1.55, allocations: 0 / 1.519 GB, free: 6.195 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01823/1.568, allocations: 5.837 MB / 1.525 GB, free: 0.5547 MB / 1.248 GB Notification: Performance of SimCode: time 0.01557/1.583, allocations: 7.386 MB / 1.532 GB, free: 9.141 MB / 1.264 GB Notification: Performance of Templates: time 0.772/2.355, allocations: 82.45 MB / 1.613 GB, free: 333.1 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches