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.0009801/0.0009801, allocations: 77.11 kB / 9.98 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001446/0.002426, allocations: 444 kB / 10.41 MB, free: 276 kB / 10.45 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.0007834/0.0007834, allocations: 161.2 kB / 11.33 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001102/0.001885, allocations: 475.5 kB / 11.8 MB, free: 2.367 MB / 13.93 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.132/1.132, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1422/1.274, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.683/2.683, allocations: 447.1 MB / 0.675 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3201/3.003, allocations: 146 MB / 0.8176 GB, free: 3.855 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|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.[0-9,]+.|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 2.916e-06/2.916e-06, allocations: 0 / 0.8189 GB, free: 2.523 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.397e-05, allocations: 5.125 kB / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003983/0.004017, allocations: 1.989 MB / 0.8209 GB, free: 0.5117 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.005292/0.009309, allocations: 3.755 MB / 0.8245 GB, free: 12.74 MB / 0.8074 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.009534, allocations: 0 / 0.8245 GB, free: 12.74 MB / 0.8074 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.01062, allocations: 191.1 kB / 0.8247 GB, free: 12.55 MB / 0.8074 GB Notification: Performance of NFTyping.typeBindings: time 0.0003141/0.01093, allocations: 83.39 kB / 0.8248 GB, free: 12.47 MB / 0.8074 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.01115, allocations: 59.8 kB / 0.8249 GB, free: 12.41 MB / 0.8074 GB Notification: Performance of NFFlatten.flatten: time 0.0006167/0.01177, allocations: 275 kB / 0.8251 GB, free: 12.14 MB / 0.8074 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.0119, allocations: 26.42 kB / 0.8252 GB, free: 12.11 MB / 0.8074 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002704/0.01217, allocations: 132.2 kB / 0.8253 GB, free: 11.98 MB / 0.8074 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001543/0.01233, allocations: 67.8 kB / 0.8253 GB, free: 11.92 MB / 0.8074 GB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.01236, allocations: 12 kB / 0.8254 GB, free: 11.91 MB / 0.8074 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.01249, allocations: 27.92 kB / 0.8254 GB, free: 11.88 MB / 0.8074 GB Notification: Performance of NFScalarize.scalarize: time 8.593e-05/0.01258, allocations: 51.8 kB / 0.8254 GB, free: 11.83 MB / 0.8074 GB Notification: Performance of NFVerifyModel.verify: time 7.236e-05/0.01265, allocations: 47.88 kB / 0.8255 GB, free: 11.78 MB / 0.8074 GB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.01294, allocations: 147.3 kB / 0.8256 GB, free: 11.64 MB / 0.8074 GB Notification: Performance of FrontEnd - DAE generated: time 1.549e-05/0.01295, allocations: 0 / 0.8256 GB, free: 11.64 MB / 0.8074 GB Notification: Performance of FrontEnd: time 1.603e-06/0.01296, allocations: 0 / 0.8256 GB, free: 11.64 MB / 0.8074 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.01297, allocations: 0 / 0.8256 GB, free: 11.64 MB / 0.8074 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.0009016/0.01387, allocations: 471 kB / 0.8261 GB, free: 11.15 MB / 0.8074 GB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.01393, allocations: 16.03 kB / 0.8261 GB, free: 11.14 MB / 0.8074 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006648/0.01459, allocations: 161.9 kB / 0.8262 GB, free: 10.96 MB / 0.8074 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.01488, allocations: 193.9 kB / 0.8264 GB, free: 10.75 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.01489, allocations: 4.312 kB / 0.8264 GB, free: 10.74 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.569e-05/0.01492, allocations: 4.375 kB / 0.8264 GB, free: 10.74 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/0.01518, allocations: 113.7 kB / 0.8265 GB, free: 10.62 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.0152, allocations: 192 / 0.8265 GB, free: 10.62 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.01521, allocations: 4.125 kB / 0.8265 GB, free: 10.61 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.326e-05/0.01526, allocations: 19.92 kB / 0.8266 GB, free: 10.59 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.359e-05/0.01535, allocations: 23.98 kB / 0.8266 GB, free: 10.57 MB / 0.8074 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.0159, allocations: 253.7 kB / 0.8268 GB, free: 10.3 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.01607, allocations: 74.53 kB / 0.8269 GB, free: 10.22 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.422e-05/0.01614, allocations: 41.34 kB / 0.8269 GB, free: 10.18 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.01616, allocations: 0 / 0.8269 GB, free: 10.18 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.0162, allocations: 38.5 kB / 0.827 GB, free: 10.13 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.0162, allocations: 0 / 0.827 GB, free: 10.13 MB / 0.8074 GB Notification: Performance of matching and sorting (n=13): time 0.0003403/0.01654, allocations: 111 kB / 0.8271 GB, free: 10.02 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.01659, allocations: 51.41 kB / 0.8271 GB, free: 9.957 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.0168, allocations: 231 kB / 0.8274 GB, free: 9.719 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.01683, allocations: 29.7 kB / 0.8274 GB, free: 9.684 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 6.638e-05/0.0169, allocations: 112.7 kB / 0.8275 GB, free: 9.57 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 5.404e-05/0.01695, allocations: 51.62 kB / 0.8275 GB, free: 9.52 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.446e-05/0.01702, allocations: 29.69 kB / 0.8276 GB, free: 9.484 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.01715, allocations: 334.8 kB / 0.8279 GB, free: 9.148 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.198e-05/0.0172, allocations: 15.98 kB / 0.8279 GB, free: 9.133 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.64e-05/0.01725, allocations: 15.38 kB / 0.8279 GB, free: 9.121 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.01738, allocations: 51.64 kB / 0.828 GB, free: 9.066 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.01738, allocations: 0 / 0.828 GB, free: 9.066 MB / 0.8074 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002004/0.01758, allocations: 97.53 kB / 0.8281 GB, free: 8.965 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.01761, allocations: 8 kB / 0.8281 GB, free: 8.957 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.01761, allocations: 0 / 0.8281 GB, free: 8.957 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.01763, allocations: 4 kB / 0.8281 GB, free: 8.953 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002597/0.01789, allocations: 39.95 kB / 0.8281 GB, free: 8.914 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.01789, allocations: 4 kB / 0.8281 GB, free: 8.91 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.018, allocations: 7.938 kB / 0.8281 GB, free: 8.902 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.146e-05/0.01802, allocations: 7.984 kB / 0.8281 GB, free: 8.895 MB / 0.8074 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.0001222/0.01814, allocations: 120.6 kB / 0.8282 GB, free: 8.766 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.749e-05/0.0182, allocations: 23.92 kB / 0.8283 GB, free: 8.742 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.01826, allocations: 29.8 kB / 0.8283 GB, free: 8.711 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01827, allocations: 4 kB / 0.8283 GB, free: 8.707 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.01827, allocations: 0 / 0.8283 GB, free: 8.707 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.01827, allocations: 0 / 0.8283 GB, free: 8.707 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002295/0.0185, allocations: 129.8 kB / 0.8284 GB, free: 8.562 MB / 0.8074 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.0185, allocations: 0 / 0.8284 GB, free: 8.562 MB / 0.8074 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002039/0.01871, allocations: 43.89 kB / 0.8285 GB, free: 8.52 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 7.282e-05/0.01878, allocations: 35.77 kB / 0.8285 GB, free: 8.484 MB / 0.8074 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.01879, allocations: 7.938 kB / 0.8285 GB, free: 8.477 MB / 0.8074 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.0188, allocations: 0 / 0.8285 GB, free: 8.477 MB / 0.8074 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.01881, allocations: 0 / 0.8285 GB, free: 8.477 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.01881, allocations: 0 / 0.8285 GB, free: 8.477 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.01906, allocations: 195.4 kB / 0.8287 GB, free: 8.27 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.01909, allocations: 0 / 0.8287 GB, free: 8.27 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.01924, allocations: 19.92 kB / 0.8287 GB, free: 8.25 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/0.01929, allocations: 3.984 kB / 0.8287 GB, free: 8.246 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.01931, allocations: 11.98 kB / 0.8287 GB, free: 8.234 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 9.295e-05/0.0194, allocations: 80.66 kB / 0.8288 GB, free: 8.152 MB / 0.8074 GB Notification: Performance of sort global known variables: time 1.01e-07/0.0194, allocations: 0 / 0.8288 GB, free: 8.152 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.000266/0.01967, allocations: 32 kB / 0.8288 GB, free: 8.121 MB / 0.8074 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.0001595/0.01983, allocations: 88.41 kB / 0.8289 GB, free: 8.027 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.0001881/0.02002, allocations: 68.27 kB / 0.829 GB, free: 7.961 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.02003, allocations: 4 kB / 0.829 GB, free: 7.957 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-05/0.02013, allocations: 52.75 kB / 0.829 GB, free: 7.902 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006336/0.02076, allocations: 0.5905 MB / 0.8296 GB, free: 7.188 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004232/0.02499, allocations: 428.3 kB / 0.83 GB, free: 6.738 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.584e-05/0.02508, allocations: 83.81 kB / 0.8301 GB, free: 6.633 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.000186/0.02527, allocations: 37.42 kB / 0.8301 GB, free: 6.594 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/0.02548, allocations: 87.34 kB / 0.8302 GB, free: 6.508 MB / 0.8074 GB Notification: Performance of SimCode: time 1.112e-06/0.02548, allocations: 4 kB / 0.8302 GB, free: 6.504 MB / 0.8074 GB Notification: Performance of Templates: time 0.00763/0.03311, allocations: 2.988 MB / 0.8331 GB, free: 3.59 MB / 0.8074 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.153387129306793]