Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.00167/0.00167, allocations: 97.11 kB / 19.7 MB, free: 2.129 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.002273/0.002273, allocations: 207.7 kB / 23 MB, free: 4.934 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.574/1.574, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.232/3.232, allocations: 0.49 GB / 0.7959 GB, free: 35.41 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.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.002031/0.002031, allocations: 66.97 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3747/0.3767, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels): time 0.03635/0.4131, allocations: 27.04 MB / 1.353 GB, free: 5.879 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2027/0.6158, allocations: 140 MB / 1.49 GB, free: 9.391 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005561/0.6213, allocations: 95.44 kB / 1.49 GB, free: 9.297 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.006506/0.6278, allocations: 1.981 MB / 1.492 GB, free: 7.309 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.007973/0.6358, allocations: 2.004 MB / 1.494 GB, free: 5.297 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.008487/0.6443, allocations: 2.914 MB / 1.497 GB, free: 2.391 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01353/0.6578, allocations: 7.231 MB / 1.504 GB, free: 11.14 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009084/0.6669, allocations: 5.001 MB / 1.509 GB, free: 6.055 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005687/0.6726, allocations: 2.984 MB / 1.512 GB, free: 3.062 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006631/0.6792, allocations: 3.43 MB / 1.515 GB, free: 15.62 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.002885/0.6821, allocations: 0.75 MB / 1.516 GB, free: 14.87 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004952/0.6871, allocations: 1.467 MB / 1.517 GB, free: 13.4 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.003821/0.6909, allocations: 2.237 MB / 1.52 GB, free: 11.16 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.005558/0.6964, allocations: 2.447 MB / 1.522 GB, free: 8.703 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.7102, allocations: 9.854 MB / 1.532 GB, free: 14.82 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 8.976e-06/0.7102, allocations: 0 / 1.532 GB, free: 14.82 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.495e-06/0.7102, allocations: 0 / 1.532 GB, free: 14.82 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0002911/0.7105, allocations: 4 kB / 1.532 GB, free: 14.81 MB / 1.232 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.01661/0.7271, allocations: 5.484 MB / 1.537 GB, free: 9.254 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.7272, allocations: 8.031 kB / 1.537 GB, free: 9.246 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01835/0.7455, allocations: 2.264 MB / 1.539 GB, free: 6.977 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007702/0.7532, allocations: 2.713 MB / 1.542 GB, free: 4.211 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003876/0.7536, allocations: 361.7 kB / 1.542 GB, free: 3.855 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001825/0.7554, allocations: 476 kB / 1.543 GB, free: 3.391 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02177/0.7772, allocations: 8.061 MB / 1.55 GB, free: 10.94 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.7773, allocations: 11.89 kB / 1.55 GB, free: 10.93 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007852/0.7781, allocations: 208 kB / 1.551 GB, free: 10.72 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003273/0.7784, allocations: 264.5 kB / 1.551 GB, free: 10.46 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0201/0.7985, allocations: 7.04 MB / 1.558 GB, free: 3.402 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0429/0.8414, allocations: 20.13 MB / 1.577 GB, free: 14.83 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01143/0.8529, allocations: 4.29 MB / 1.582 GB, free: 10.5 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005217/0.8581, allocations: 2.044 MB / 1.584 GB, free: 8.434 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007172/0.8588, allocations: 126.2 kB / 1.584 GB, free: 8.309 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006472/0.8653, allocations: 2.86 MB / 1.587 GB, free: 5.312 MB / 1.279 GB Notification: Performance of pre-optimization done (n=277): time 7.163e-06/0.8653, allocations: 4 kB / 1.587 GB, free: 5.309 MB / 1.279 GB Notification: Performance of matching and sorting (n=280): time 0.01958/0.8849, allocations: 8.662 MB / 1.595 GB, free: 12.57 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00024/0.8851, allocations: 398 kB / 1.595 GB, free: 12.09 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002666/0.8878, allocations: 1.75 MB / 1.597 GB, free: 10.29 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0004658/0.8882, allocations: 77.7 kB / 1.597 GB, free: 10.21 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001905/0.8902, allocations: 1.963 MB / 1.599 GB, free: 8.227 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.001193/0.8913, allocations: 0.9645 MB / 1.6 GB, free: 7.254 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001214/0.8926, allocations: 0.6079 MB / 1.601 GB, free: 6.637 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8927, allocations: 309.1 kB / 1.601 GB, free: 6.332 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004785/0.8975, allocations: 1.912 MB / 1.603 GB, free: 4.41 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006041/0.9035, allocations: 2.978 MB / 1.606 GB, free: 1.066 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.8077/1.711, allocations: 4.479 MB / 1.61 GB, free: 266.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.277e-05/1.711, allocations: 5.281 kB / 1.61 GB, free: 266.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=385) (initialization): time 0.01451/1.726, allocations: 4.883 MB / 1.615 GB, free: 264.8 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.668e-05/1.726, allocations: 13.72 kB / 1.615 GB, free: 264.8 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/1.726, allocations: 16.12 kB / 1.615 GB, free: 264.8 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.973e-05/1.726, allocations: 38.88 kB / 1.615 GB, free: 264.8 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005676/1.732, allocations: 0.9103 MB / 1.616 GB, free: 264.7 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001044/1.732, allocations: 43.81 kB / 1.616 GB, free: 264.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/1.736, allocations: 465.8 kB / 1.616 GB, free: 264.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007023/1.737, allocations: 152.7 kB / 1.616 GB, free: 264.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007958/1.745, allocations: 2.896 MB / 1.619 GB, free: 263.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006155/1.751, allocations: 2.832 MB / 1.622 GB, free: 261.6 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01151/1.763, allocations: 4.182 MB / 1.626 GB, free: 259.4 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.642e-05/1.763, allocations: 4.344 kB / 1.626 GB, free: 259.4 MB / 1.295 GB Notification: Performance of matching and sorting (n=385) (initialization_lambda0): time 0.01867/1.781, allocations: 4.572 MB / 1.631 GB, free: 257.7 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/1.781, allocations: 13.62 kB / 1.631 GB, free: 257.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-05/1.781, allocations: 17.61 kB / 1.631 GB, free: 257.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.82e-05/1.781, allocations: 32.94 kB / 1.631 GB, free: 257.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005553/1.787, allocations: 0.9069 MB / 1.632 GB, free: 257.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001267/1.787, allocations: 48.59 kB / 1.632 GB, free: 257.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004677/1.792, allocations: 418.6 kB / 1.632 GB, free: 257.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001272/1.793, allocations: 151 kB / 1.632 GB, free: 257.5 MB / 1.295 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.003104/1.796, allocations: 388.4 kB / 1.633 GB, free: 257.2 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002248/1.798, allocations: 258 kB / 1.633 GB, free: 257.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01933/1.818, allocations: 4.892 MB / 1.638 GB, free: 255.4 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.505e-05/1.818, allocations: 13.97 kB / 1.638 GB, free: 255.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.947e-06/1.818, allocations: 1.188 kB / 1.638 GB, free: 255.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002843/1.821, allocations: 0.7424 MB / 1.638 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/1.822, allocations: 77.56 kB / 1.638 GB, free: 255.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004581/1.827, allocations: 432.4 kB / 1.639 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008167/1.828, allocations: 199.5 kB / 1.639 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01408/1.842, allocations: 4.838 MB / 1.644 GB, free: 253.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01176/1.853, allocations: 4.713 MB / 1.648 GB, free: 251 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004338/1.858, allocations: 1.915 MB / 1.65 GB, free: 250.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002839/1.861, allocations: 1.264 MB / 1.651 GB, free: 249.7 MB / 1.295 GB Notification: Performance of Backend: time 8.12e-07/1.861, allocations: 0 / 1.651 GB, free: 249.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.02033/1.881, allocations: 5.68 MB / 1.657 GB, free: 245 MB / 1.295 GB Notification: Performance of SimCode: time 0.01638/1.897, allocations: 7.457 MB / 1.664 GB, free: 237.5 MB / 1.295 GB Notification: Performance of Templates: time 0.1156/2.013, allocations: 93.24 MB / 1.755 GB, free: 145.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 13.095099703001324]