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.001625/0.001624, allocations: 110.7 kB / 16.42 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.00186/0.00186, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 68.11 kB / 1.055 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9573/0.9588, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.03195/0.9908, allocations: 27.67 MB / 1.235 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.184/1.175, allocations: 157.7 MB / 1.389 GB, free: 3.527 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00668/1.182, allocations: 71.75 kB / 1.39 GB, free: 3.457 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.006132/1.188, allocations: 1.424 MB / 1.391 GB, free: 2.027 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.007932/1.196, allocations: 1.732 MB / 1.393 GB, free: 296 kB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007616/1.203, allocations: 2.723 MB / 1.395 GB, free: 13.57 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.009964/1.213, allocations: 6.517 MB / 1.402 GB, free: 7.043 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01369/1.227, allocations: 7.61 MB / 1.409 GB, free: 15.34 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005334/1.233, allocations: 2.68 MB / 1.412 GB, free: 12.66 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005795/1.238, allocations: 3.064 MB / 1.415 GB, free: 9.582 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.002607/1.241, allocations: 0.6875 MB / 1.415 GB, free: 8.895 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00465/1.246, allocations: 1.358 MB / 1.417 GB, free: 7.535 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.00411/1.25, allocations: 2.003 MB / 1.419 GB, free: 5.527 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.008045/1.258, allocations: 2.805 MB / 1.421 GB, free: 2.711 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01417/1.272, allocations: 8.935 MB / 1.43 GB, free: 9.75 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.272, allocations: 0 / 1.43 GB, free: 9.75 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.454e-06/1.272, allocations: 4 kB / 1.43 GB, free: 9.746 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0003433/1.272, allocations: 0 / 1.43 GB, free: 9.746 MB / 1.154 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.01452/1.287, allocations: 5.059 MB / 1.435 GB, free: 4.602 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/1.287, allocations: 8.031 kB / 1.435 GB, free: 4.594 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01354/1.301, allocations: 1.973 MB / 1.437 GB, free: 2.613 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006101/1.307, allocations: 2.535 MB / 1.439 GB, free: 20 kB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/1.307, allocations: 345.1 kB / 1.44 GB, free: 15.68 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001609/1.309, allocations: 444 kB / 1.44 GB, free: 15.25 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/1.325, allocations: 6.869 MB / 1.447 GB, free: 8.184 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.827e-05/1.325, allocations: 11.94 kB / 1.447 GB, free: 8.172 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005748/1.325, allocations: 192 kB / 1.447 GB, free: 7.984 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000216/1.326, allocations: 228 kB / 1.447 GB, free: 7.758 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01649/1.342, allocations: 6.749 MB / 1.454 GB, free: 0.9883 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03779/1.38, allocations: 24.96 MB / 1.478 GB, free: 6.484 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009392/1.389, allocations: 4.387 MB / 1.483 GB, free: 2.023 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004392/1.394, allocations: 1.98 MB / 1.485 GB, free: 32 kB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008349/1.395, allocations: 0.5151 MB / 1.485 GB, free: 15.43 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00526/1.4, allocations: 2.288 MB / 1.487 GB, free: 13.07 MB / 1.217 GB Notification: Performance of pre-optimization done (n=263): time 7.614e-06/1.4, allocations: 0 / 1.487 GB, free: 13.07 MB / 1.217 GB Notification: Performance of matching and sorting (n=266): time 0.01769/1.418, allocations: 7.755 MB / 1.495 GB, free: 5.215 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/1.418, allocations: 397.8 kB / 1.495 GB, free: 4.738 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/1.42, allocations: 1.844 MB / 1.497 GB, free: 2.852 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0006145/1.421, allocations: 85.69 kB / 1.497 GB, free: 2.762 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/1.422, allocations: 1.774 MB / 1.499 GB, free: 0.9648 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001152/1.424, allocations: 0.8781 MB / 1.5 GB, free: 76 kB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/1.425, allocations: 0.5957 MB / 1.5 GB, free: 15.46 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 8.566e-05/1.425, allocations: 305.1 kB / 1.501 GB, free: 15.16 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004202/1.429, allocations: 1.724 MB / 1.502 GB, free: 13.43 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004824/1.434, allocations: 2.426 MB / 1.505 GB, free: 10.72 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008963/1.443, allocations: 4.125 MB / 1.509 GB, free: 6.312 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.21e-05/1.443, allocations: 8 kB / 1.509 GB, free: 6.305 MB / 1.232 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01082/1.454, allocations: 4.504 MB / 1.513 GB, free: 1.754 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/1.454, allocations: 12 kB / 1.513 GB, free: 1.742 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/1.454, allocations: 20 kB / 1.513 GB, free: 1.723 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.298e-05/1.454, allocations: 32 kB / 1.513 GB, free: 1.691 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004294/1.458, allocations: 0.8699 MB / 1.514 GB, free: 0.8203 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-05/1.458, allocations: 47.8 kB / 1.514 GB, free: 0.7734 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/1.462, allocations: 425.9 kB / 1.514 GB, free: 364 kB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004287/1.462, allocations: 151.9 kB / 1.515 GB, free: 212 kB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006589/1.469, allocations: 2.676 MB / 1.517 GB, free: 13.52 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004668/1.474, allocations: 2.323 MB / 1.519 GB, free: 10.91 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008408/1.482, allocations: 3.907 MB / 1.523 GB, free: 6.746 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.195e-05/1.482, allocations: 4 kB / 1.523 GB, free: 6.742 MB / 1.248 GB Notification: Performance of matching and sorting (n=375) (initialization_lambda0): time 0.01068/1.493, allocations: 4.291 MB / 1.527 GB, free: 2.441 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/1.493, allocations: 12.94 kB / 1.527 GB, free: 2.43 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/1.493, allocations: 27.92 kB / 1.527 GB, free: 2.402 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.597e-05/1.493, allocations: 32 kB / 1.528 GB, free: 2.371 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004187/1.497, allocations: 0.8307 MB / 1.528 GB, free: 1.539 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.759e-05/1.497, allocations: 51.84 kB / 1.528 GB, free: 1.488 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/1.501, allocations: 395.7 kB / 1.529 GB, free: 1.102 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004372/1.501, allocations: 151.9 kB / 1.529 GB, free: 0.9531 MB / 1.248 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.001055/1.502, allocations: 375.4 kB / 1.529 GB, free: 0.5781 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008821/1.503, allocations: 252.9 kB / 1.529 GB, free: 336 kB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/1.515, allocations: 4.491 MB / 1.534 GB, free: 11.78 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.175e-05/1.515, allocations: 15.94 kB / 1.534 GB, free: 11.76 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.515, allocations: 4 kB / 1.534 GB, free: 11.76 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/1.517, allocations: 0.7664 MB / 1.535 GB, free: 10.97 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007901/1.517, allocations: 71.75 kB / 1.535 GB, free: 10.9 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003547/1.521, allocations: 387.4 kB / 1.535 GB, free: 10.52 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004669/1.521, allocations: 178 kB / 1.535 GB, free: 10.34 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01215/1.534, allocations: 4.489 MB / 1.54 GB, free: 5.805 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009721/1.543, allocations: 4.34 MB / 1.544 GB, free: 1.387 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004085/1.547, allocations: 1.887 MB / 1.546 GB, free: 15.48 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002506/1.55, allocations: 1.338 MB / 1.547 GB, free: 14.12 MB / 1.279 GB Notification: Performance of Backend: time 8.91e-07/1.55, allocations: 0 / 1.547 GB, free: 14.12 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01497/1.565, allocations: 5.571 MB / 1.552 GB, free: 8.789 MB / 1.279 GB Notification: Performance of SimCode: time 0.01514/1.58, allocations: 6.898 MB / 1.559 GB, free: 1.859 MB / 1.279 GB Notification: Performance of Templates: time 0.8555/2.436, allocations: 76.99 MB / 1.634 GB, free: 285.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