Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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.0019/0.0019, 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.002362/0.002362, allocations: 205 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.294/3.294, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sou.S.1.|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sou.S.1.|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented") [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.002004/0.002004, allocations: 70.34 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4325, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented): time 0.01368/0.4462, allocations: 9.083 MB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2053/0.6515, allocations: 134.5 MB / 1.467 GB, free: 0.8438 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002569/0.6541, allocations: 39.69 kB / 1.467 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002899/0.657, allocations: 0.7456 MB / 1.468 GB, free: 56 kB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.004223/0.6612, allocations: 0.9774 MB / 1.469 GB, free: 15.07 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.004106/0.6653, allocations: 1.277 MB / 1.47 GB, free: 13.8 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.005037/0.6703, allocations: 2.704 MB / 1.473 GB, free: 11.09 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003353/0.6737, allocations: 1.911 MB / 1.475 GB, free: 9.129 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002045/0.6757, allocations: 1.079 MB / 1.476 GB, free: 8.047 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.6776, allocations: 1.171 MB / 1.477 GB, free: 6.871 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004375/0.678, allocations: 276 kB / 1.477 GB, free: 6.602 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.6799, allocations: 0.7844 MB / 1.478 GB, free: 5.816 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000661/0.6805, allocations: 0.6466 MB / 1.479 GB, free: 5.168 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.6816, allocations: 0.9217 MB / 1.48 GB, free: 4.242 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004989/0.6866, allocations: 3.468 MB / 1.483 GB, free: 0.7617 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.6866, allocations: 8 kB / 1.483 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6866, allocations: 0 / 1.483 GB, free: 0.7539 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.184e-05/0.6866, allocations: 0 / 1.483 GB, free: 0.7539 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 467 * Number of variables: 467 Notification: Performance of Generate backend data structure: time 0.005705/0.6923, allocations: 2.412 MB / 1.485 GB, free: 14.3 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/0.6924, allocations: 12.03 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008194/0.7006, allocations: 1.014 MB / 1.486 GB, free: 13.27 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.7034, allocations: 1.16 MB / 1.487 GB, free: 12.08 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001475/0.7036, allocations: 139.6 kB / 1.488 GB, free: 11.94 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003236/0.7039, allocations: 172 kB / 1.488 GB, free: 11.77 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005952/0.7098, allocations: 2.716 MB / 1.49 GB, free: 8.902 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.882e-05/0.7099, allocations: 3.938 kB / 1.49 GB, free: 8.898 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002237/0.7101, allocations: 80 kB / 1.49 GB, free: 8.82 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001007/0.7102, allocations: 79.47 kB / 1.491 GB, free: 8.742 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006727/0.7169, allocations: 2.593 MB / 1.493 GB, free: 6.145 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01326/0.7302, allocations: 5.921 MB / 1.499 GB, free: 128 kB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004665/0.7349, allocations: 1.667 MB / 1.5 GB, free: 14.46 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.737, allocations: 0.7554 MB / 1.501 GB, free: 13.7 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/0.7375, allocations: 97.14 kB / 1.501 GB, free: 13.61 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002884/0.7404, allocations: 1.225 MB / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of pre-optimization done (n=144): time 3.877e-06/0.7404, allocations: 0 / 1.503 GB, free: 12.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=144): time 0.007405/0.7478, allocations: 2.443 MB / 1.505 GB, free: 9.867 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/0.7481, allocations: 308 kB / 1.505 GB, free: 9.496 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.7494, allocations: 0.8437 MB / 1.506 GB, free: 8.625 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001585/0.7496, allocations: 53.7 kB / 1.506 GB, free: 8.566 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008012/0.7504, allocations: 0.7472 MB / 1.507 GB, free: 7.809 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/0.7509, allocations: 495.8 kB / 1.507 GB, free: 7.32 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006401/0.7516, allocations: 283.5 kB / 1.508 GB, free: 7.035 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002006/0.7518, allocations: 365.8 kB / 1.508 GB, free: 6.672 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002011/0.7538, allocations: 0.7074 MB / 1.509 GB, free: 5.961 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.7562, allocations: 1.106 MB / 1.51 GB, free: 4.758 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004224/0.7604, allocations: 1.536 MB / 1.511 GB, free: 3.184 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.7604, allocations: 7.938 kB / 1.511 GB, free: 3.176 MB / 1.201 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005242/0.7656, allocations: 1.856 MB / 1.513 GB, free: 1.309 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.7657, allocations: 8 kB / 1.513 GB, free: 1.301 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.7657, allocations: 8 kB / 1.513 GB, free: 1.293 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003182/0.766, allocations: 40.83 kB / 1.513 GB, free: 1.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002069/0.7681, allocations: 371.6 kB / 1.513 GB, free: 0.8867 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.7696, allocations: 1.272 MB / 1.515 GB, free: 15.51 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.7716, allocations: 212.9 kB / 1.515 GB, free: 15.3 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/0.7717, allocations: 67.95 kB / 1.515 GB, free: 15.24 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002752/0.7745, allocations: 1.031 MB / 1.516 GB, free: 14.2 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002341/0.7768, allocations: 1.098 MB / 1.517 GB, free: 13.01 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004095/0.7809, allocations: 1.54 MB / 1.518 GB, free: 11.43 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.559e-06/0.7809, allocations: 0 / 1.518 GB, free: 11.43 MB / 1.217 GB Notification: Performance of matching and sorting (n=178) (initialization_lambda0): time 0.005151/0.7861, allocations: 1.848 MB / 1.52 GB, free: 9.57 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7861, allocations: 12.03 kB / 1.52 GB, free: 9.559 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.7861, allocations: 7.984 kB / 1.52 GB, free: 9.551 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001511/0.7863, allocations: 32.83 kB / 1.52 GB, free: 9.516 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.7883, allocations: 367.4 kB / 1.521 GB, free: 9.156 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.7896, allocations: 1.245 MB / 1.522 GB, free: 7.809 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001997/0.7916, allocations: 211.2 kB / 1.522 GB, free: 7.602 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001543/0.7917, allocations: 63.95 kB / 1.522 GB, free: 7.539 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,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,pv.HDirTil.incAng.decAng.tNext,$PRE.pv.HDirTil.incAng.decAng.tNext,pv.HDifTil.incAng.decAng.tNext,$PRE.pv.HDifTil.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (177): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000612/0.7923, allocations: 278.6 kB / 1.522 GB, free: 7.258 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.7927, allocations: 131.2 kB / 1.523 GB, free: 7.129 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005833/0.7985, allocations: 2.108 MB / 1.525 GB, free: 5.004 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/0.7985, allocations: 7.969 kB / 1.525 GB, free: 4.996 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.7985, allocations: 0 / 1.525 GB, free: 4.996 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009575/0.7995, allocations: 366.5 kB / 1.525 GB, free: 4.637 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002387/0.7997, allocations: 35.94 kB / 1.525 GB, free: 4.602 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/0.8012, allocations: 139.8 kB / 1.525 GB, free: 4.465 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/0.8015, allocations: 113.1 kB / 1.525 GB, free: 4.355 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00582/0.8073, allocations: 2.136 MB / 1.527 GB, free: 2.207 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007346/0.8146, allocations: 3.154 MB / 1.53 GB, free: 15.03 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002126/0.8168, allocations: 0.8066 MB / 1.531 GB, free: 14.22 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001021/0.8178, allocations: 0.5778 MB / 1.532 GB, free: 13.63 MB / 1.232 GB Notification: Performance of Backend: time 1.263e-06/0.8178, allocations: 4 kB / 1.532 GB, free: 13.63 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.009649/0.8274, allocations: 2.929 MB / 1.535 GB, free: 10.95 MB / 1.232 GB Notification: Performance of SimCode: time 0.006058/0.8335, allocations: 3.217 MB / 1.538 GB, free: 7.691 MB / 1.232 GB Notification: Performance of Templates: time 0.07062/0.9041, allocations: 42.9 MB / 1.58 GB, free: 13.15 MB / 1.279 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_PVSimpleOriented.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimpleOriented.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: 11.038198440997803]