Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.001711/0.001711, 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.001481/0.001481, allocations: 210.9 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.254/3.254, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N,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_N") [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.002088/0.002088, allocations: 66.17 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3954, allocations: 176.1 MB / 1.327 GB, free: 0.9805 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N): time 0.03838/0.4338, allocations: 25.91 MB / 1.352 GB, free: 6.977 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.2271/0.6609, allocations: 139.7 MB / 1.489 GB, free: 10.76 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004433/0.6653, allocations: 103.3 kB / 1.489 GB, free: 10.66 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.005275/0.6706, allocations: 1.433 MB / 1.49 GB, free: 9.223 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006869/0.6775, allocations: 1.763 MB / 1.492 GB, free: 7.453 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.007559/0.685, allocations: 2.737 MB / 1.495 GB, free: 4.723 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.009452/0.6945, allocations: 6.595 MB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008339/0.7028, allocations: 4.835 MB / 1.506 GB, free: 9.184 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00461/0.7074, allocations: 2.773 MB / 1.509 GB, free: 6.402 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005608/0.713, allocations: 3.192 MB / 1.512 GB, free: 3.199 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001917/0.715, allocations: 0.6992 MB / 1.512 GB, free: 2.5 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003534/0.7185, allocations: 1.343 MB / 1.514 GB, free: 1.156 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.00268/0.7212, allocations: 2.053 MB / 1.516 GB, free: 15.1 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00397/0.7251, allocations: 2.28 MB / 1.518 GB, free: 12.81 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.7368, allocations: 9.107 MB / 1.527 GB, free: 3.672 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.7368, allocations: 0 / 1.527 GB, free: 3.672 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7368, allocations: 0 / 1.527 GB, free: 3.672 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002718/0.7371, allocations: 0 / 1.527 GB, free: 3.672 MB / 1.217 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.01379/0.7509, allocations: 5.156 MB / 1.532 GB, free: 14.44 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 6.714e-05/0.7509, allocations: 8.031 kB / 1.532 GB, free: 14.43 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01745/0.7684, allocations: 2.198 MB / 1.534 GB, free: 12.23 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00761/0.776, allocations: 2.516 MB / 1.536 GB, free: 9.668 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/0.7763, allocations: 341.1 kB / 1.537 GB, free: 9.332 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/0.7781, allocations: 448 kB / 1.537 GB, free: 8.895 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02142/0.7996, allocations: 7.452 MB / 1.544 GB, free: 1.105 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000197/0.7998, allocations: 19.88 kB / 1.545 GB, free: 1.086 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001571/0.8013, allocations: 192 kB / 1.545 GB, free: 0.8984 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003281/0.8017, allocations: 232 kB / 1.545 GB, free: 0.668 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01997/0.8216, allocations: 6.686 MB / 1.551 GB, free: 9.961 MB / 1.248 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04356/0.8652, allocations: 17.98 MB / 1.569 GB, free: 7.574 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01116/0.8763, allocations: 3.945 MB / 1.573 GB, free: 3.594 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005148/0.8815, allocations: 1.836 MB / 1.575 GB, free: 1.75 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007561/0.8823, allocations: 117.9 kB / 1.575 GB, free: 1.633 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006374/0.8886, allocations: 2.568 MB / 1.577 GB, free: 14.95 MB / 1.279 GB Notification: Performance of pre-optimization done (n=263): time 8.616e-06/0.8886, allocations: 0 / 1.577 GB, free: 14.95 MB / 1.279 GB Notification: Performance of matching and sorting (n=266): time 0.02078/0.9094, allocations: 7.93 MB / 1.585 GB, free: 6.938 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000239/0.9097, allocations: 389.9 kB / 1.585 GB, free: 6.469 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002608/0.9123, allocations: 1.693 MB / 1.587 GB, free: 4.77 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0005969/0.9129, allocations: 81.58 kB / 1.587 GB, free: 4.684 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.00194/0.9148, allocations: 1.849 MB / 1.589 GB, free: 2.82 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.001315/0.9161, allocations: 0.9179 MB / 1.59 GB, free: 1.895 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.9173, allocations: 0.6037 MB / 1.59 GB, free: 1.281 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.9174, allocations: 305.1 kB / 1.591 GB, free: 0.9805 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004571/0.922, allocations: 1.763 MB / 1.592 GB, free: 15.21 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005519/0.9275, allocations: 2.792 MB / 1.595 GB, free: 12.05 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01091/0.9384, allocations: 4.203 MB / 1.599 GB, free: 7.566 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.631e-05/0.9385, allocations: 4 kB / 1.599 GB, free: 7.562 MB / 1.295 GB Notification: Performance of matching and sorting (n=375) (initialization): time 0.01306/0.9515, allocations: 4.583 MB / 1.604 GB, free: 2.934 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.893e-05/0.9516, allocations: 12 kB / 1.604 GB, free: 2.922 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.911e-05/0.9516, allocations: 16.84 kB / 1.604 GB, free: 2.906 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.195e-05/0.9517, allocations: 35.98 kB / 1.604 GB, free: 2.871 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005479/0.9572, allocations: 0.8892 MB / 1.605 GB, free: 1.98 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-05/0.9573, allocations: 43.86 kB / 1.605 GB, free: 1.938 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004643/0.9619, allocations: 448.9 kB / 1.605 GB, free: 1.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008011/0.9627, allocations: 151.9 kB / 1.605 GB, free: 1.352 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.8633/1.826, allocations: 2.716 MB / 1.608 GB, free: 268.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.006235/1.832, allocations: 2.698 MB / 1.611 GB, free: 267.3 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0104/1.843, allocations: 4 MB / 1.614 GB, free: 265.5 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.484e-05/1.843, allocations: 5.438 kB / 1.614 GB, free: 265.5 MB / 1.295 GB Notification: Performance of matching and sorting (n=375) (initialization_lambda0): time 0.01239/1.855, allocations: 4.357 MB / 1.619 GB, free: 264 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/1.855, allocations: 13.31 kB / 1.619 GB, free: 264 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.244e-05/1.855, allocations: 18.81 kB / 1.619 GB, free: 264 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.376e-05/1.855, allocations: 32.62 kB / 1.619 GB, free: 264 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005304/1.861, allocations: 0.8744 MB / 1.62 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001401/1.861, allocations: 43.91 kB / 1.62 GB, free: 263.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004273/1.865, allocations: 408.6 kB / 1.62 GB, free: 263.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007204/1.866, allocations: 149.5 kB / 1.62 GB, free: 263.8 MB / 1.295 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.001249/1.867, allocations: 378.2 kB / 1.621 GB, free: 263.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/1.868, allocations: 248.2 kB / 1.621 GB, free: 263.5 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/1.88, allocations: 4.491 MB / 1.625 GB, free: 261.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.594e-05/1.88, allocations: 15.08 kB / 1.625 GB, free: 261.9 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.88, allocations: 1.188 kB / 1.625 GB, free: 261.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002147/1.882, allocations: 0.685 MB / 1.626 GB, free: 261.6 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006398/1.883, allocations: 73.36 kB / 1.626 GB, free: 261.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003427/1.886, allocations: 387.5 kB / 1.626 GB, free: 261.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004718/1.886, allocations: 190.4 kB / 1.627 GB, free: 261.5 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01178/1.898, allocations: 4.467 MB / 1.631 GB, free: 259.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01004/1.908, allocations: 4.348 MB / 1.635 GB, free: 258 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004144/1.912, allocations: 1.741 MB / 1.637 GB, free: 257.4 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002531/1.915, allocations: 1.205 MB / 1.638 GB, free: 256.9 MB / 1.295 GB Notification: Performance of Backend: time 5.31e-07/1.915, allocations: 0 / 1.638 GB, free: 256.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01699/1.932, allocations: 5.396 MB / 1.643 GB, free: 255.2 MB / 1.295 GB Notification: Performance of SimCode: time 0.01359/1.946, allocations: 6.966 MB / 1.65 GB, free: 251.7 MB / 1.295 GB Notification: Performance of Templates: time 0.1079/2.054, allocations: 86.59 MB / 1.735 GB, free: 167 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N.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.997899231995689]