Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.001564/0.001564, 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.001963/0.001963, 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.478/1.478, 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.363/3.363, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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.PVSimple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sou.S.1.|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple") translateModel(Buildings.Electrical.DC.Sources.Examples.PVSimple,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sou.S.1.|sen.V|sen.I",fileNamePrefix="Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple") [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.003141/0.003141, allocations: 69.52 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.441/0.4442, allocations: 176.1 MB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.PVSimple): time 0.01382/0.458, allocations: 8.356 MB / 1.335 GB, free: 8.629 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.2064/0.6644, allocations: 134.4 MB / 1.467 GB, free: 1.699 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/0.6666, allocations: 35.75 kB / 1.467 GB, free: 1.664 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002433/0.6691, allocations: 0.6835 MB / 1.467 GB, free: 0.9766 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.003812/0.6729, allocations: 0.9286 MB / 1.468 GB, free: 48 kB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.6763, allocations: 1.225 MB / 1.469 GB, free: 14.83 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003995/0.6803, allocations: 2.532 MB / 1.472 GB, free: 12.29 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.6833, allocations: 1.698 MB / 1.473 GB, free: 10.54 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001652/0.685, allocations: 0.9891 MB / 1.474 GB, free: 9.543 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001521/0.6865, allocations: 1.074 MB / 1.475 GB, free: 8.465 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0003792/0.6869, allocations: 240 kB / 1.476 GB, free: 8.23 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.6886, allocations: 0.7492 MB / 1.476 GB, free: 7.48 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006702/0.6893, allocations: 0.5881 MB / 1.477 GB, free: 6.891 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001127/0.6904, allocations: 0.8633 MB / 1.478 GB, free: 6.023 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004763/0.6952, allocations: 3.055 MB / 1.481 GB, free: 2.957 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.6952, allocations: 0 / 1.481 GB, free: 2.957 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.354e-06/0.6952, allocations: 0 / 1.481 GB, free: 2.957 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.758e-05/0.6953, allocations: 4 kB / 1.481 GB, free: 2.953 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: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.005867/0.7011, allocations: 2.306 MB / 1.483 GB, free: 0.6055 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.7012, allocations: 12.03 kB / 1.483 GB, free: 0.5938 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008487/0.7097, allocations: 1.033 MB / 1.484 GB, free: 15.56 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002929/0.7126, allocations: 1.058 MB / 1.485 GB, free: 14.47 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.7128, allocations: 127.4 kB / 1.485 GB, free: 14.34 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002997/0.7131, allocations: 164 kB / 1.485 GB, free: 14.18 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005696/0.7188, allocations: 2.575 MB / 1.488 GB, free: 11.45 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.938e-05/0.7188, allocations: 3.984 kB / 1.488 GB, free: 11.45 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002086/0.719, allocations: 72 kB / 1.488 GB, free: 11.38 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.7191, allocations: 75.27 kB / 1.488 GB, free: 11.3 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006394/0.7255, allocations: 2.464 MB / 1.49 GB, free: 8.832 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01213/0.7376, allocations: 5.427 MB / 1.496 GB, free: 3.305 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004594/0.7422, allocations: 1.614 MB / 1.497 GB, free: 1.68 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.7443, allocations: 0.7383 MB / 1.498 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000559/0.7449, allocations: 93.2 kB / 1.498 GB, free: 0.8516 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00272/0.7476, allocations: 1.224 MB / 1.499 GB, free: 15.56 MB / 1.201 GB Notification: Performance of pre-optimization done (n=144): time 7.183e-06/0.7476, allocations: 4 kB / 1.499 GB, free: 15.55 MB / 1.201 GB Notification: Performance of matching and sorting (n=144): time 0.007352/0.755, allocations: 2.376 MB / 1.502 GB, free: 13.17 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001991/0.7552, allocations: 300 kB / 1.502 GB, free: 12.81 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/0.7566, allocations: 0.8373 MB / 1.503 GB, free: 11.96 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.00017/0.7568, allocations: 53.7 kB / 1.503 GB, free: 11.91 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007516/0.7575, allocations: 0.7007 MB / 1.504 GB, free: 11.2 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005377/0.7581, allocations: 495.8 kB / 1.504 GB, free: 10.71 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005687/0.7586, allocations: 291.4 kB / 1.504 GB, free: 10.41 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002053/0.7588, allocations: 357.9 kB / 1.505 GB, free: 10.06 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.7608, allocations: 0.684 MB / 1.505 GB, free: 9.371 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002313/0.7631, allocations: 1.078 MB / 1.506 GB, free: 8.199 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003984/0.7671, allocations: 1.505 MB / 1.508 GB, free: 6.656 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.807e-06/0.7671, allocations: 3.938 kB / 1.508 GB, free: 6.652 MB / 1.201 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005106/0.7722, allocations: 1.828 MB / 1.51 GB, free: 4.812 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.7722, allocations: 4 kB / 1.51 GB, free: 4.809 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.7723, allocations: 7.938 kB / 1.51 GB, free: 4.801 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002964/0.7726, allocations: 40.83 kB / 1.51 GB, free: 4.758 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.7746, allocations: 367.7 kB / 1.51 GB, free: 4.398 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001512/0.7762, allocations: 1.291 MB / 1.511 GB, free: 3.004 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002121/0.7783, allocations: 207.3 kB / 1.511 GB, free: 2.801 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001785/0.7785, allocations: 75.88 kB / 1.512 GB, free: 2.727 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002771/0.7812, allocations: 0.9724 MB / 1.512 GB, free: 1.75 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002325/0.7836, allocations: 1.082 MB / 1.514 GB, free: 0.5742 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004143/0.7877, allocations: 1.5 MB / 1.515 GB, free: 15.04 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.083e-06/0.7877, allocations: 4 kB / 1.515 GB, free: 15.03 MB / 1.217 GB Notification: Performance of matching and sorting (n=178) (initialization_lambda0): time 0.005182/0.7929, allocations: 1.817 MB / 1.517 GB, free: 13.2 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.7929, allocations: 11.94 kB / 1.517 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.7929, allocations: 4 kB / 1.517 GB, free: 13.19 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.7931, allocations: 32.97 kB / 1.517 GB, free: 13.15 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002063/0.7951, allocations: 371.5 kB / 1.517 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.7964, allocations: 1.245 MB / 1.518 GB, free: 11.45 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/0.7983, allocations: 207.3 kB / 1.519 GB, free: 11.24 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/0.7985, allocations: 67.94 kB / 1.519 GB, free: 11.18 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,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) * 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.0006348/0.7991, allocations: 278.5 kB / 1.519 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003642/0.7995, allocations: 131.2 kB / 1.519 GB, free: 10.77 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005854/0.8054, allocations: 2.099 MB / 1.521 GB, free: 8.648 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.8054, allocations: 3.984 kB / 1.521 GB, free: 8.645 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.8054, allocations: 3.984 kB / 1.521 GB, free: 8.641 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009608/0.8063, allocations: 338.5 kB / 1.521 GB, free: 8.309 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002539/0.8066, allocations: 35.98 kB / 1.521 GB, free: 8.273 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.8081, allocations: 143.8 kB / 1.522 GB, free: 8.133 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/0.8084, allocations: 113.1 kB / 1.522 GB, free: 8.023 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005842/0.8142, allocations: 2.07 MB / 1.524 GB, free: 5.945 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00743/0.8216, allocations: 3.06 MB / 1.527 GB, free: 2.863 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002133/0.8238, allocations: 0.7755 MB / 1.527 GB, free: 2.086 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001052/0.8248, allocations: 0.5938 MB / 1.528 GB, free: 1.48 MB / 1.217 GB Notification: Performance of Backend: time 3.41e-07/0.8248, allocations: 0 / 1.528 GB, free: 1.48 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.009508/0.8343, allocations: 2.899 MB / 1.531 GB, free: 14.83 MB / 1.232 GB Notification: Performance of SimCode: time 0.00576/0.8401, allocations: 3.143 MB / 1.534 GB, free: 11.65 MB / 1.232 GB Notification: Performance of Templates: time 0.06905/0.9091, allocations: 42.11 MB / 1.575 GB, free: 1.879 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_PVSimple.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.PVSimple.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.344792313000653]