Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_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_10_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_10_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.001672/0.001671, allocations: 104.7 kB / 16.41 MB, free: 5.949 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.002073/0.002073, allocations: 192.7 kB / 17.35 MB, free: 5.574 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.438/1.438, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.661/2.661, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 63.91 kB / 1.019 GB, free: 9.426 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8936/0.8952, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.03349/0.9288, allocations: 27.73 MB / 1.194 GB, free: 8.016 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1918/1.121, allocations: 157.7 MB / 1.348 GB, free: 9.711 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004222/1.125, allocations: 79.69 kB / 1.348 GB, free: 9.633 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004843/1.13, allocations: 1.426 MB / 1.35 GB, free: 8.199 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006233/1.136, allocations: 1.757 MB / 1.352 GB, free: 6.438 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007444/1.144, allocations: 2.732 MB / 1.354 GB, free: 3.715 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.008905/1.152, allocations: 6.529 MB / 1.361 GB, free: 13.17 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01339/1.166, allocations: 7.613 MB / 1.368 GB, free: 5.465 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004911/1.171, allocations: 2.668 MB / 1.371 GB, free: 2.789 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006088/1.177, allocations: 3.064 MB / 1.374 GB, free: 15.71 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.003029/1.18, allocations: 0.6875 MB / 1.374 GB, free: 15.03 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005256/1.185, allocations: 1.366 MB / 1.376 GB, free: 13.66 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004129/1.189, allocations: 2.003 MB / 1.378 GB, free: 11.65 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006999/1.196, allocations: 2.797 MB / 1.38 GB, free: 8.844 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01562/1.212, allocations: 8.966 MB / 1.389 GB, free: 15.85 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 9.277e-06/1.212, allocations: 0 / 1.389 GB, free: 15.85 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.994e-06/1.212, allocations: 0 / 1.389 GB, free: 15.85 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0003763/1.213, allocations: 0 / 1.389 GB, free: 15.85 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: 1192 * Number of variables: 1192 Notification: Performance of Generate backend data structure: time 0.01686/1.229, allocations: 5.186 MB / 1.394 GB, free: 10.57 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/1.229, allocations: 12.91 kB / 1.394 GB, free: 10.56 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01358/1.243, allocations: 1.999 MB / 1.396 GB, free: 8.555 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006046/1.249, allocations: 2.545 MB / 1.399 GB, free: 5.953 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002897/1.249, allocations: 337.1 kB / 1.399 GB, free: 5.621 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001356/1.251, allocations: 448 kB / 1.399 GB, free: 5.184 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/1.267, allocations: 6.865 MB / 1.406 GB, free: 14.12 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-05/1.267, allocations: 3.938 kB / 1.406 GB, free: 14.12 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005285/1.267, allocations: 196 kB / 1.406 GB, free: 13.93 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002361/1.268, allocations: 232 kB / 1.407 GB, free: 13.7 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01729/1.285, allocations: 6.749 MB / 1.413 GB, free: 6.93 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04518/1.33, allocations: 25.03 MB / 1.438 GB, free: 12.36 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/1.341, allocations: 4.388 MB / 1.442 GB, free: 7.902 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005529/1.346, allocations: 1.985 MB / 1.444 GB, free: 5.906 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/1.347, allocations: 0.5111 MB / 1.444 GB, free: 5.301 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006746/1.354, allocations: 2.281 MB / 1.446 GB, free: 2.953 MB / 1.17 GB Notification: Performance of pre-optimization done (n=263): time 8.586e-06/1.354, allocations: 0 / 1.446 GB, free: 2.953 MB / 1.17 GB Notification: Performance of matching and sorting (n=266): time 0.02529/1.379, allocations: 7.934 MB / 1.454 GB, free: 10.93 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002124/1.38, allocations: 397.9 kB / 1.455 GB, free: 10.46 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/1.383, allocations: 1.844 MB / 1.456 GB, free: 8.57 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0007795/1.384, allocations: 73.7 kB / 1.456 GB, free: 8.492 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002137/1.386, allocations: 1.834 MB / 1.458 GB, free: 6.645 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.00157/1.388, allocations: 0.918 MB / 1.459 GB, free: 5.719 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00235/1.39, allocations: 0.5959 MB / 1.46 GB, free: 5.113 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.391, allocations: 305.1 kB / 1.46 GB, free: 4.812 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005055/1.396, allocations: 1.724 MB / 1.462 GB, free: 3.078 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005789/1.401, allocations: 2.422 MB / 1.464 GB, free: 384 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/1.412, allocations: 4.125 MB / 1.468 GB, free: 11.96 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.27e-05/1.412, allocations: 4 kB / 1.468 GB, free: 11.96 MB / 1.201 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01312/1.425, allocations: 4.521 MB / 1.473 GB, free: 7.391 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/1.425, allocations: 14.34 kB / 1.473 GB, free: 7.379 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.969e-05/1.425, allocations: 16 kB / 1.473 GB, free: 7.363 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.716e-05/1.426, allocations: 32 kB / 1.473 GB, free: 7.332 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004841/1.43, allocations: 0.8781 MB / 1.473 GB, free: 6.453 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.193e-05/1.43, allocations: 47.8 kB / 1.474 GB, free: 6.406 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/1.435, allocations: 432.8 kB / 1.474 GB, free: 5.984 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007/1.435, allocations: 147.9 kB / 1.474 GB, free: 5.84 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007024/1.443, allocations: 2.68 MB / 1.477 GB, free: 3.152 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005249/1.448, allocations: 2.327 MB / 1.479 GB, free: 0.5352 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009429/1.457, allocations: 3.907 MB / 1.483 GB, free: 12.37 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.455e-05/1.457, allocations: 8 kB / 1.483 GB, free: 12.36 MB / 1.217 GB Notification: Performance of matching and sorting (n=375) (initialization_lambda0): time 0.01204/1.469, allocations: 4.293 MB / 1.487 GB, free: 8.055 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.323e-05/1.469, allocations: 23.94 kB / 1.487 GB, free: 8.031 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.522e-05/1.469, allocations: 16 kB / 1.487 GB, free: 8.016 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.15e-05/1.47, allocations: 36 kB / 1.487 GB, free: 7.98 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004675/1.474, allocations: 0.8307 MB / 1.488 GB, free: 7.148 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.099e-05/1.474, allocations: 43.86 kB / 1.488 GB, free: 7.105 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004209/1.479, allocations: 402.5 kB / 1.488 GB, free: 6.711 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006138/1.479, allocations: 151.8 kB / 1.488 GB, free: 6.562 MB / 1.217 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.001358/1.481, allocations: 383.5 kB / 1.489 GB, free: 6.18 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.482, allocations: 266.3 kB / 1.489 GB, free: 5.918 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01256/1.494, allocations: 4.49 MB / 1.493 GB, free: 1.371 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-05/1.494, allocations: 11.95 kB / 1.493 GB, free: 1.359 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/1.494, allocations: 0 / 1.493 GB, free: 1.359 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/1.496, allocations: 0.7835 MB / 1.494 GB, free: 0.5547 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009007/1.497, allocations: 71.84 kB / 1.494 GB, free: 496 kB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003682/1.501, allocations: 383.5 kB / 1.495 GB, free: 112 kB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005077/1.501, allocations: 178 kB / 1.495 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01241/1.514, allocations: 4.49 MB / 1.499 GB, free: 11.39 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01134/1.525, allocations: 4.365 MB / 1.503 GB, free: 6.953 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004516/1.53, allocations: 1.88 MB / 1.505 GB, free: 5.059 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.002923/1.533, allocations: 1.338 MB / 1.507 GB, free: 3.703 MB / 1.232 GB Notification: Performance of Backend: time 3.316e-06/1.533, allocations: 0 / 1.507 GB, free: 3.703 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01839/1.551, allocations: 5.568 MB / 1.512 GB, free: 14.33 MB / 1.248 GB Notification: Performance of SimCode: time 0.01712/1.568, allocations: 7.039 MB / 1.519 GB, free: 7.25 MB / 1.248 GB Notification: Performance of Templates: time 0.9332/2.501, allocations: 76.98 MB / 1.594 GB, free: 353 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches