Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.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.001501/0.001501, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.001628/0.001628, allocations: 164.9 kB / 22.46 MB, free: 5.359 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.464/1.464, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.854/2.854, allocations: 389 MB / 0.633 GB, free: 1.023 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.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_latest_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_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 1 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.578e-05/2.727e-05, allocations: 2.281 kB / 1 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003279/0.003307, allocations: 1.865 MB / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.004918/0.008224, allocations: 3.452 MB / 1.005 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.00835, allocations: 0 / 1.005 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0008983/0.009248, allocations: 180.6 kB / 1.005 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002454/0.009493, allocations: 87.39 kB / 1.006 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001389/0.009632, allocations: 47.92 kB / 1.006 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0005489/0.01018, allocations: 286.9 kB / 1.006 GB, free: 1.379 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.558e-05/0.01028, allocations: 21.73 kB / 1.006 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.01046, allocations: 107.7 kB / 1.006 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.01061, allocations: 63.8 kB / 1.006 GB, free: 1.191 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.01063, allocations: 8 kB / 1.006 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 9.649e-05/0.01073, allocations: 27.92 kB / 1.006 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.456e-05/0.01082, allocations: 67.75 kB / 1.006 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 9.304e-05/0.01091, allocations: 47.86 kB / 1.006 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002952/0.0112, allocations: 199.3 kB / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.01121, allocations: 0 / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01121, allocations: 0 / 1.006 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.01121, allocations: 8 kB / 1.006 GB, free: 0.8398 MB / 0.9512 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.0009582/0.01217, allocations: 476.7 kB / 1.007 GB, free: 352 kB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.01221, allocations: 11.98 kB / 1.007 GB, free: 340 kB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000957/0.01316, allocations: 124.6 kB / 1.007 GB, free: 216 kB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.01372, allocations: 205.9 kB / 1.007 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.01373, allocations: 8.312 kB / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.01375, allocations: 8.312 kB / 1.007 GB, free: 15.96 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.01419, allocations: 159.9 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.0142, allocations: 4.125 kB / 1.007 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.062e-05/0.01422, allocations: 12.12 kB / 1.007 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.455e-05/0.01425, allocations: 8 kB / 1.007 GB, free: 15.78 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005236/0.01477, allocations: 159.8 kB / 1.008 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007711/0.01554, allocations: 388.3 kB / 1.008 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005134/0.01605, allocations: 178.4 kB / 1.008 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003099/0.01636, allocations: 100.8 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.01639, allocations: 7.938 kB / 1.008 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.01642, allocations: 34.56 kB / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.01642, allocations: 0 / 1.008 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13): time 0.0009868/0.01741, allocations: 320 kB / 1.009 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.49e-05/0.01747, allocations: 55.41 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002783/0.01774, allocations: 256.2 kB / 1.009 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.01777, allocations: 33.7 kB / 1.009 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01789, allocations: 144 kB / 1.009 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.344e-05/0.01794, allocations: 39.59 kB / 1.009 GB, free: 14.02 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.01803, allocations: 37.69 kB / 1.009 GB, free: 13.98 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.01819, allocations: 334.8 kB / 1.009 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002725/0.01847, allocations: 75.92 kB / 1.009 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.01873, allocations: 91.86 kB / 1.01 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005498/0.01928, allocations: 180.7 kB / 1.01 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01928, allocations: 0 / 1.01 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006705/0.01996, allocations: 243.8 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.01997, allocations: 4 kB / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.01998, allocations: 0 / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.01999, allocations: 0 / 1.01 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003535/0.02035, allocations: 39.91 kB / 1.01 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.02036, allocations: 4 kB / 1.01 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002684/0.02063, allocations: 23.92 kB / 1.01 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.859e-05/0.02065, allocations: 8 kB / 1.01 GB, free: 12.98 MB / 0.9669 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.0002186/0.02087, allocations: 138.3 kB / 1.01 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.452e-05/0.02097, allocations: 27.8 kB / 1.01 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-05/0.02105, allocations: 29.8 kB / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.02106, allocations: 0 / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.02106, allocations: 0 / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.02107, allocations: 3.984 kB / 1.01 GB, free: 12.77 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003507/0.02142, allocations: 209.1 kB / 1.01 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.02142, allocations: 0 / 1.01 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.02173, allocations: 55.81 kB / 1.01 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.02173, allocations: 0 / 1.01 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.02176, allocations: 7.938 kB / 1.01 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.02176, allocations: 0 / 1.01 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02176, allocations: 0 / 1.01 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/0.02284, allocations: 335.2 kB / 1.011 GB, free: 12.13 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000148/0.02299, allocations: 43.78 kB / 1.011 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/0.02305, allocations: 0 / 1.011 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.02343, allocations: 11.98 kB / 1.011 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/0.02353, allocations: 15.97 kB / 1.011 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.621e-05/0.02355, allocations: 4 kB / 1.011 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000259/0.02381, allocations: 191.1 kB / 1.011 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.02381, allocations: 0 / 1.011 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002888/0.0241, allocations: 39.95 kB / 1.011 GB, free: 11.83 MB / 0.9669 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.0001454/0.02425, allocations: 103.2 kB / 1.011 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0009179/0.02516, allocations: 183.8 kB / 1.011 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02517, allocations: 0 / 1.011 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005649/0.02573, allocations: 107.4 kB / 1.011 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006484/0.02638, allocations: 48.95 kB / 1.012 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.02771, allocations: 463 kB / 1.012 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.02791, allocations: 136.1 kB / 1.012 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003376/0.02825, allocations: 65.42 kB / 1.012 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.02838, allocations: 32.41 kB / 1.012 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of SimCode: time 6.11e-07/0.02838, allocations: 3.938 kB / 1.012 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of Templates: time 0.009972/0.03836, allocations: 2.703 MB / 1.015 GB, free: 8.02 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.216510448604822]