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.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.0009855/0.0009855, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0009726/0.0009726, allocations: 169 kB / 23.82 MB, free: 0.7461 MB / 18.57 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 0.973/0.973, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.854/1.854, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_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.[0-9,]+.|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 1.763e-06/1.763e-06, allocations: 0 / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.267e-05/2.444e-05, allocations: 3.219 kB / 0.8115 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002406/0.002431, allocations: 1.937 MB / 0.8134 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003382/0.005813, allocations: 3.727 MB / 0.8171 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.894e-05/0.005911, allocations: 7.938 kB / 0.8171 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008226/0.006734, allocations: 177.7 kB / 0.8172 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.006939, allocations: 85.05 kB / 0.8173 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.007058, allocations: 52.86 kB / 0.8174 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004902/0.007548, allocations: 292.5 kB / 0.8177 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.007673, allocations: 22.61 kB / 0.8177 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.007816, allocations: 103.7 kB / 0.8178 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.007941, allocations: 64.73 kB / 0.8178 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.315e-05/0.007964, allocations: 8 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.00807, allocations: 33.27 kB / 0.8179 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.733e-05/0.008148, allocations: 59.81 kB / 0.8179 GB, free: 11.19 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.008215, allocations: 59.8 kB / 0.818 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.008446, allocations: 164.2 kB / 0.8181 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.008449, allocations: 0 / 0.8181 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.71e-07/0.00845, allocations: 2.156 kB / 0.8181 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.008456, allocations: 0 / 0.8181 GB, free: 10.97 MB / 0.7761 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.0006626/0.009119, allocations: 0.5616 MB / 0.8187 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.009165, allocations: 8.031 kB / 0.8187 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.009415, allocations: 60.75 kB / 0.8188 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.009677, allocations: 204.7 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.009688, allocations: 384 / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.009708, allocations: 8.312 kB / 0.819 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.009914, allocations: 109.5 kB / 0.8191 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.009923, allocations: 192 / 0.8191 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.009937, allocations: 4.625 kB / 0.8191 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.009973, allocations: 12.48 kB / 0.8191 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.434e-05/0.01007, allocations: 36.53 kB / 0.8191 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.01057, allocations: 397 kB / 0.8195 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.01072, allocations: 98.97 kB / 0.8196 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.505e-05/0.0108, allocations: 40.23 kB / 0.8196 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/0.01082, allocations: 9.078 kB / 0.8196 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/0.01085, allocations: 41.38 kB / 0.8197 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.102e-06/0.01085, allocations: 0 / 0.8197 GB, free: 9.281 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0003084/0.01116, allocations: 134.4 kB / 0.8198 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.01119, allocations: 60.97 kB / 0.8199 GB, free: 9.074 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002151/0.01141, allocations: 306.4 kB / 0.8202 GB, free: 8.754 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.01142, allocations: 25.7 kB / 0.8202 GB, free: 8.723 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.01153, allocations: 202.7 kB / 0.8204 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.01183, allocations: 47.3 kB / 0.8204 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.288e-05/0.01188, allocations: 35.36 kB / 0.8205 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.01203, allocations: 0.5157 MB / 0.821 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.956e-05/0.01208, allocations: 19.92 kB / 0.821 GB, free: 7.887 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.644e-05/0.01213, allocations: 19.98 kB / 0.821 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001054/0.01224, allocations: 53.67 kB / 0.821 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01224, allocations: 4 kB / 0.8211 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001749/0.01241, allocations: 125.4 kB / 0.8212 GB, free: 7.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01243, allocations: 4.875 kB / 0.8212 GB, free: 7.676 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.01243, allocations: 3.984 kB / 0.8212 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.01245, allocations: 0 / 0.8212 GB, free: 7.672 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.01259, allocations: 33.09 kB / 0.8212 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.0126, allocations: 0 / 0.8212 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.01266, allocations: 9.016 kB / 0.8212 GB, free: 7.633 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.01267, allocations: 7.984 kB / 0.8212 GB, free: 7.625 MB / 0.7761 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 8.688e-05/0.01276, allocations: 165.6 kB / 0.8214 GB, free: 7.453 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.503e-05/0.0128, allocations: 31.8 kB / 0.8214 GB, free: 7.422 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.01284, allocations: 29.8 kB / 0.8214 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01285, allocations: 1 kB / 0.8214 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01285, allocations: 0 / 0.8214 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.01285, allocations: 0.7188 kB / 0.8214 GB, free: 7.391 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.01304, allocations: 204.5 kB / 0.8216 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.01304, allocations: 1.656 kB / 0.8216 GB, free: 7.156 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.786e-05/0.01313, allocations: 43.91 kB / 0.8217 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.01313, allocations: 0 / 0.8217 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.01315, allocations: 3.984 kB / 0.8217 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01315, allocations: 4.5 kB / 0.8217 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.01315, allocations: 0.5938 kB / 0.8217 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/0.0134, allocations: 268.1 kB / 0.8219 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.01345, allocations: 39.77 kB / 0.822 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.327e-05/0.01347, allocations: 4 kB / 0.822 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.192e-05/0.01355, allocations: 7.984 kB / 0.822 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.761e-05/0.0136, allocations: 12.77 kB / 0.822 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.01361, allocations: 4 kB / 0.822 GB, free: 6.762 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001106/0.01372, allocations: 211.5 kB / 0.8222 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01372, allocations: 3.5 kB / 0.8222 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001916/0.01391, allocations: 43.94 kB / 0.8223 GB, free: 6.516 MB / 0.7761 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.0001593/0.01407, allocations: 101.6 kB / 0.8224 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000184/0.01426, allocations: 83.52 kB / 0.8224 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.01426, allocations: 0 / 0.8224 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.01433, allocations: 47.59 kB / 0.8225 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.01464, allocations: 52.95 kB / 0.8225 GB, free: 6.215 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009427/0.01558, allocations: 415.3 kB / 0.8229 GB, free: 5.777 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.528e-05/0.01564, allocations: 83.81 kB / 0.823 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001035/0.01575, allocations: 49.42 kB / 0.8231 GB, free: 5.625 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.599e-05/0.0158, allocations: 20.48 kB / 0.8231 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of SimCode: time 1.032e-06/0.0158, allocations: 0 / 0.8231 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of Templates: time 0.004677/0.02048, allocations: 2.642 MB / 0.8257 GB, free: 3.059 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.327886359300464]