Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002559/0.002559, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004068/0.004068, allocations: 190.5 kB / 22.11 MB, free: 5.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 250.8 MB, free: 13.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.242/3.242, allocations: 495.8 MB / 0.783 GB, free: 33.4 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos_flow.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 73.53 kB / 1.137 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4318/0.4339, allocations: 173.6 MB / 1.307 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003814/0.4377, allocations: 1.902 MB / 1.309 GB, free: 15.98 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005293/0.443, allocations: 3.622 MB / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001297/0.4431, allocations: 0 / 1.312 GB, free: 12.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009814/0.4441, allocations: 199.1 kB / 1.312 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.4444, allocations: 79.48 kB / 1.312 GB, free: 12.07 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001063/0.4445, allocations: 27.95 kB / 1.312 GB, free: 12.04 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005498/0.445, allocations: 263.1 kB / 1.313 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.4451, allocations: 21.72 kB / 1.313 GB, free: 11.77 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001362/0.4453, allocations: 79.7 kB / 1.313 GB, free: 11.69 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.4454, allocations: 83.61 kB / 1.313 GB, free: 11.61 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.4455, allocations: 8 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 9.444e-05/0.4456, allocations: 27.92 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 8.482e-05/0.4456, allocations: 51.81 kB / 1.313 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.4457, allocations: 83.48 kB / 1.313 GB, free: 11.44 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.4461, allocations: 199 kB / 1.313 GB, free: 11.24 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4461, allocations: 8 kB / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4461, allocations: 0 / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.4461, allocations: 0 / 1.313 GB, free: 11.23 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001002/0.4471, allocations: 464.8 kB / 1.314 GB, free: 10.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.4471, allocations: 11.97 kB / 1.314 GB, free: 10.74 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.79e-05/0.4472, allocations: 28.73 kB / 1.314 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.4476, allocations: 193.6 kB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.4476, allocations: 384 / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.595e-05/0.4476, allocations: 8.375 kB / 1.314 GB, free: 10.49 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004075/0.448, allocations: 145.6 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.448, allocations: 4 kB / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.448, allocations: 0 / 1.314 GB, free: 10.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.4481, allocations: 8 kB / 1.314 GB, free: 10.33 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004813/0.4486, allocations: 143.9 kB / 1.314 GB, free: 10.19 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008161/0.4494, allocations: 427.5 kB / 1.315 GB, free: 9.727 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004551/0.4498, allocations: 174.1 kB / 1.315 GB, free: 9.551 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.4501, allocations: 100.8 kB / 1.315 GB, free: 9.449 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.4501, allocations: 4 kB / 1.315 GB, free: 9.445 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.4502, allocations: 38.56 kB / 1.315 GB, free: 9.398 MB / 1.014 GB Notification: Performance of pre-optimization done (n=13): time 1.162e-06/0.4502, allocations: 0 / 1.315 GB, free: 9.398 MB / 1.014 GB Notification: Performance of matching and sorting (n=13): time 0.0009111/0.4511, allocations: 293.6 kB / 1.315 GB, free: 9.105 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.4511, allocations: 59.34 kB / 1.315 GB, free: 9.035 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.4514, allocations: 241.9 kB / 1.315 GB, free: 8.789 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.577e-05/0.4514, allocations: 25.7 kB / 1.315 GB, free: 8.758 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001182/0.4516, allocations: 144.1 kB / 1.316 GB, free: 8.613 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.038e-05/0.4516, allocations: 35.66 kB / 1.316 GB, free: 8.578 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.186e-05/0.4517, allocations: 33.69 kB / 1.316 GB, free: 8.539 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.4519, allocations: 334.8 kB / 1.316 GB, free: 8.203 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.4521, allocations: 79.92 kB / 1.316 GB, free: 8.125 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.4524, allocations: 71.94 kB / 1.316 GB, free: 8.055 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.4529, allocations: 164.7 kB / 1.316 GB, free: 7.891 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4529, allocations: 0 / 1.316 GB, free: 7.891 MB / 1.014 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005918/0.4535, allocations: 231.9 kB / 1.317 GB, free: 7.66 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.4535, allocations: 7.984 kB / 1.317 GB, free: 7.652 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.313e-06/0.4535, allocations: 8 kB / 1.317 GB, free: 7.645 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4535, allocations: 4 kB / 1.317 GB, free: 7.641 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.4538, allocations: 31.97 kB / 1.317 GB, free: 7.609 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.4538, allocations: 0 / 1.317 GB, free: 7.609 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.4539, allocations: 19.88 kB / 1.317 GB, free: 7.59 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.454, allocations: 11.98 kB / 1.317 GB, free: 7.578 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001549/0.4541, allocations: 137.7 kB / 1.317 GB, free: 7.434 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.215e-05/0.4542, allocations: 23.86 kB / 1.317 GB, free: 7.41 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.934e-05/0.4542, allocations: 37.77 kB / 1.317 GB, free: 7.371 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.4543, allocations: 0 / 1.317 GB, free: 7.371 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4543, allocations: 0 / 1.317 GB, free: 7.371 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.4543, allocations: 3.938 kB / 1.317 GB, free: 7.367 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003412/0.4546, allocations: 248.5 kB / 1.317 GB, free: 7.082 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4546, allocations: 3.938 kB / 1.317 GB, free: 7.078 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002316/0.4548, allocations: 35.95 kB / 1.317 GB, free: 7.043 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4548, allocations: 0 / 1.317 GB, free: 7.043 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.4549, allocations: 4 kB / 1.317 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4549, allocations: 4 kB / 1.317 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4549, allocations: 0 / 1.317 GB, free: 7.035 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006543/0.4555, allocations: 323.2 kB / 1.317 GB, free: 6.703 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.177e-05/0.4556, allocations: 43.72 kB / 1.317 GB, free: 6.66 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.4556, allocations: 8 kB / 1.317 GB, free: 6.652 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.4558, allocations: 11.98 kB / 1.317 GB, free: 6.641 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.4559, allocations: 15.97 kB / 1.317 GB, free: 6.625 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.4559, allocations: 0 / 1.317 GB, free: 6.625 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001826/0.4561, allocations: 177.2 kB / 1.318 GB, free: 6.453 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.4561, allocations: 0 / 1.318 GB, free: 6.453 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002808/0.4564, allocations: 43.94 kB / 1.318 GB, free: 6.41 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0001978/0.4566, allocations: 116 kB / 1.318 GB, free: 6.289 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005802/0.4572, allocations: 167.8 kB / 1.318 GB, free: 6.125 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4572, allocations: 0 / 1.318 GB, free: 6.125 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.4574, allocations: 87.88 kB / 1.318 GB, free: 6.039 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005224/0.458, allocations: 56.19 kB / 1.318 GB, free: 5.988 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.459, allocations: 471.3 kB / 1.319 GB, free: 5.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.4594, allocations: 0.7473 MB / 1.319 GB, free: 4.727 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001708/0.4596, allocations: 61.34 kB / 1.319 GB, free: 4.664 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.4596, allocations: 15.44 kB / 1.319 GB, free: 4.648 MB / 1.014 GB Notification: Performance of SimCode: time 7.91e-07/0.4596, allocations: 0 / 1.319 GB, free: 4.648 MB / 1.014 GB Notification: Performance of Templates: time 0.00672/0.4664, allocations: 2.576 MB / 1.322 GB, free: 2.117 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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: 9.624496548436582]