Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001695/0.001695, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 212 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.19/3.19, allocations: 0.49 GB / 0.7959 GB, free: 35.62 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|pvSimple.load.S.1.|pvSimple.load.S.2.|RL.S.1.|RL.S.2.|pvOriented.panel.load.S.1.|pvOriented.panel.load.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|grid.P.real|grid.P.apparent|pvSimple.load.S.1.|pvSimple.load.S.2.|RL.S.1.|RL.S.2.|pvOriented.panel.load.S.1.|pvOriented.panel.load.S.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 74.67 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.377, allocations: 176.1 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels): time 0.01729/0.3943, allocations: 12.56 MB / 1.339 GB, free: 4.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1939/0.5882, allocations: 135.6 MB / 1.472 GB, free: 12.3 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.5906, allocations: 51.56 kB / 1.472 GB, free: 12.25 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.5936, allocations: 0.7799 MB / 1.473 GB, free: 11.46 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.5985, allocations: 1.295 MB / 1.474 GB, free: 10.17 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004732/0.6032, allocations: 1.688 MB / 1.476 GB, free: 8.484 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.006225/0.6095, allocations: 3.744 MB / 1.479 GB, free: 4.727 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005263/0.6147, allocations: 2.721 MB / 1.482 GB, free: 1.941 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00288/0.6176, allocations: 1.542 MB / 1.483 GB, free: 404 kB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002938/0.6205, allocations: 1.701 MB / 1.485 GB, free: 14.68 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0008948/0.6214, allocations: 408 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002357/0.6238, allocations: 0.9794 MB / 1.486 GB, free: 13.31 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.6248, allocations: 0.9192 MB / 1.487 GB, free: 12.39 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002067/0.6269, allocations: 1.338 MB / 1.489 GB, free: 11.04 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006806/0.6337, allocations: 4.92 MB / 1.493 GB, free: 6.105 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/0.6337, allocations: 0 / 1.493 GB, free: 6.105 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.495e-06/0.6337, allocations: 0 / 1.493 GB, free: 6.105 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.000131/0.6338, allocations: 0 / 1.493 GB, free: 6.105 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 700 * Number of variables: 700 Notification: Performance of Generate backend data structure: time 0.009466/0.6433, allocations: 3.32 MB / 1.497 GB, free: 2.73 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.6434, allocations: 11.97 kB / 1.497 GB, free: 2.719 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/0.6582, allocations: 1.821 MB / 1.498 GB, free: 0.8945 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003929/0.6621, allocations: 1.514 MB / 1.5 GB, free: 15.33 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.6624, allocations: 201.4 kB / 1.5 GB, free: 15.13 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007657/0.6631, allocations: 264 kB / 1.5 GB, free: 14.88 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01047/0.6736, allocations: 4.063 MB / 1.504 GB, free: 10.59 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-05/0.6737, allocations: 7.938 kB / 1.504 GB, free: 10.58 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003764/0.674, allocations: 120 kB / 1.504 GB, free: 10.46 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001463/0.6742, allocations: 121 kB / 1.505 GB, free: 10.34 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.012/0.6862, allocations: 4.051 MB / 1.508 GB, free: 6.281 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02033/0.7065, allocations: 8.509 MB / 1.517 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008404/0.7149, allocations: 2.756 MB / 1.519 GB, free: 10.86 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003742/0.7187, allocations: 1.277 MB / 1.521 GB, free: 9.574 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006773/0.7193, allocations: 130 kB / 1.521 GB, free: 9.445 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004707/0.724, allocations: 1.942 MB / 1.523 GB, free: 7.449 MB / 1.217 GB Notification: Performance of pre-optimization done (n=217): time 5.36e-06/0.724, allocations: 0 / 1.523 GB, free: 7.449 MB / 1.217 GB Notification: Performance of matching and sorting (n=218): time 0.01359/0.7376, allocations: 4.817 MB / 1.527 GB, free: 2.621 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001717/0.7378, allocations: 257.3 kB / 1.528 GB, free: 2.312 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.7395, allocations: 1.073 MB / 1.529 GB, free: 1.227 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0003135/0.7398, allocations: 69.69 kB / 1.529 GB, free: 1.152 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.7408, allocations: 1.029 MB / 1.53 GB, free: 116 kB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008817/0.7417, allocations: 0.7359 MB / 1.531 GB, free: 15.37 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008773/0.7426, allocations: 427.6 kB / 1.531 GB, free: 14.95 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.7427, allocations: 305.1 kB / 1.531 GB, free: 14.64 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003753/0.7464, allocations: 1.235 MB / 1.532 GB, free: 13.4 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004214/0.7507, allocations: 1.739 MB / 1.534 GB, free: 11.52 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007843/0.7585, allocations: 2.71 MB / 1.537 GB, free: 8.73 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/0.7585, allocations: 8 kB / 1.537 GB, free: 8.723 MB / 1.232 GB Notification: Performance of matching and sorting (n=267) (initialization): time 0.009111/0.7676, allocations: 3.124 MB / 1.54 GB, free: 5.59 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.7676, allocations: 4 kB / 1.54 GB, free: 5.586 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.7677, allocations: 8 kB / 1.54 GB, free: 5.578 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/0.7677, allocations: 12 kB / 1.54 GB, free: 5.566 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/0.7715, allocations: 0.6128 MB / 1.54 GB, free: 4.953 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.783e-05/0.7715, allocations: 19.94 kB / 1.54 GB, free: 4.934 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/0.7745, allocations: 317.3 kB / 1.541 GB, free: 4.625 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/0.7747, allocations: 107.9 kB / 1.541 GB, free: 4.52 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004585/0.7793, allocations: 1.625 MB / 1.542 GB, free: 2.887 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004336/0.7837, allocations: 1.711 MB / 1.544 GB, free: 1.027 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007922/0.7916, allocations: 2.659 MB / 1.547 GB, free: 14.3 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.208e-05/0.7916, allocations: 0 / 1.547 GB, free: 14.3 MB / 1.248 GB Notification: Performance of matching and sorting (n=267) (initialization_lambda0): time 0.009086/0.8007, allocations: 3.05 MB / 1.55 GB, free: 11.24 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.8007, allocations: 16.41 kB / 1.55 GB, free: 11.22 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.8007, allocations: 4 kB / 1.55 GB, free: 11.22 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.932e-05/0.8007, allocations: 20 kB / 1.55 GB, free: 11.2 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/0.8045, allocations: 0.6084 MB / 1.55 GB, free: 10.59 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.302e-05/0.8046, allocations: 19.94 kB / 1.55 GB, free: 10.57 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003038/0.8076, allocations: 306.8 kB / 1.551 GB, free: 10.27 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002817/0.8079, allocations: 103.9 kB / 1.551 GB, free: 10.17 MB / 1.248 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (267): * Single equations (assignments): 267 * 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.0007824/0.8087, allocations: 328.3 kB / 1.551 GB, free: 9.84 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005617/0.8092, allocations: 178.8 kB / 1.551 GB, free: 9.664 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01019/0.8194, allocations: 3.479 MB / 1.555 GB, free: 6.164 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-05/0.8194, allocations: 11.95 kB / 1.555 GB, free: 6.152 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.8195, allocations: 0 / 1.555 GB, free: 6.152 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/0.8211, allocations: 0.5122 MB / 1.555 GB, free: 5.637 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004524/0.8215, allocations: 51.89 kB / 1.555 GB, free: 5.586 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002755/0.8243, allocations: 263.7 kB / 1.555 GB, free: 5.328 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/0.8247, allocations: 157.7 kB / 1.556 GB, free: 5.176 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01063/0.8353, allocations: 3.336 MB / 1.559 GB, free: 1.832 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008831/0.8441, allocations: 3.241 MB / 1.562 GB, free: 14.57 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003669/0.8478, allocations: 1.312 MB / 1.563 GB, free: 13.26 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.00141/0.8492, allocations: 0.7658 MB / 1.564 GB, free: 12.49 MB / 1.264 GB Notification: Performance of Backend: time 6.41e-07/0.8492, allocations: 0 / 1.564 GB, free: 12.49 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01399/0.8632, allocations: 3.999 MB / 1.568 GB, free: 8.766 MB / 1.264 GB Notification: Performance of SimCode: time 0.00852/0.8717, allocations: 4.278 MB / 1.572 GB, free: 4.445 MB / 1.264 GB Notification: Performance of Templates: time 0.7886/1.66, allocations: 63.8 MB / 1.634 GB, free: 267.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_PVPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.PVPanels.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.021905625006184]