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.0009976/0.0009976, allocations: 71.75 kB / 20.97 MB, free: 3.57 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.001034/0.001034, allocations: 165 kB / 24.28 MB, free: 272 kB / 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.9523/0.9523, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.84/1.84, allocations: 377.8 MB / 0.6239 GB, free: 8.555 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.633e-06/1.633e-06, allocations: 0.7656 kB / 0.8115 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.565e-05/2.728e-05, allocations: 5.125 kB / 0.8115 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002416/0.002443, allocations: 1.934 MB / 0.8134 GB, free: 116 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.003305/0.005748, allocations: 3.731 MB / 0.8171 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.005861, allocations: 4.812 kB / 0.8171 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007288/0.006589, allocations: 173.8 kB / 0.8172 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.006772, allocations: 84.5 kB / 0.8173 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.006916, allocations: 56.53 kB / 0.8174 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.007357, allocations: 293.6 kB / 0.8176 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.007457, allocations: 21.78 kB / 0.8177 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.007571, allocations: 103.7 kB / 0.8178 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001251/0.007697, allocations: 64.62 kB / 0.8178 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.208e-05/0.007719, allocations: 8 kB / 0.8178 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.566e-05/0.007794, allocations: 33.53 kB / 0.8179 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.1e-05/0.007855, allocations: 51.84 kB / 0.8179 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.007912, allocations: 59.78 kB / 0.818 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.008143, allocations: 167.2 kB / 0.8181 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.008146, allocations: 0.9062 kB / 0.8181 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.402e-06/0.008148, allocations: 0 / 0.8181 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5e-06/0.008153, allocations: 3.438 kB / 0.8181 GB, free: 11.29 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.0006354/0.008788, allocations: 0.5615 MB / 0.8187 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.008828, allocations: 12.03 kB / 0.8187 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002257/0.009054, allocations: 56.77 kB / 0.8187 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.009306, allocations: 209.1 kB / 0.8189 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.009316, allocations: 4.375 kB / 0.819 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.009332, allocations: 10.3 kB / 0.819 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001864/0.009518, allocations: 102.9 kB / 0.8191 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.891e-06/0.009524, allocations: 192 / 0.8191 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.009539, allocations: 5.406 kB / 0.8191 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.009572, allocations: 8 kB / 0.8191 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.863e-05/0.00966, allocations: 35.95 kB / 0.8191 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.01017, allocations: 404.9 kB / 0.8195 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.01031, allocations: 99.86 kB / 0.8196 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.847e-05/0.01038, allocations: 43.67 kB / 0.8196 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.01039, allocations: 0.8438 kB / 0.8196 GB, free: 9.645 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.01042, allocations: 37.39 kB / 0.8197 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.01042, allocations: 0 / 0.8197 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002866/0.0107, allocations: 142.5 kB / 0.8198 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.117e-05/0.01074, allocations: 55.41 kB / 0.8199 GB, free: 9.391 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.01091, allocations: 310.9 kB / 0.8202 GB, free: 9.066 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.01092, allocations: 29.7 kB / 0.8202 GB, free: 9.031 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.889e-05/0.01101, allocations: 200.9 kB / 0.8204 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.01105, allocations: 35.66 kB / 0.8204 GB, free: 8.797 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.01109, allocations: 39.36 kB / 0.8204 GB, free: 8.75 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.01122, allocations: 0.5157 MB / 0.8209 GB, free: 8.223 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.653e-05/0.01126, allocations: 15.98 kB / 0.821 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.0113, allocations: 23.14 kB / 0.821 GB, free: 8.188 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.867e-05/0.0114, allocations: 59.61 kB / 0.821 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.01141, allocations: 0 / 0.821 GB, free: 8.125 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002817/0.01169, allocations: 117.5 kB / 0.8212 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.0117, allocations: 8 kB / 0.8212 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.01171, allocations: 0 / 0.8212 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.01172, allocations: 0 / 0.8212 GB, free: 7.996 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001329/0.01185, allocations: 32.91 kB / 0.8212 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.01186, allocations: 0 / 0.8212 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.643e-05/0.01191, allocations: 21.06 kB / 0.8212 GB, free: 7.945 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.01193, allocations: 4 kB / 0.8212 GB, free: 7.941 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.88e-05/0.01201, allocations: 161.5 kB / 0.8214 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.535e-05/0.01205, allocations: 31.8 kB / 0.8214 GB, free: 7.742 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.01209, allocations: 29.8 kB / 0.8214 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.01209, allocations: 1.125 kB / 0.8214 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.0121, allocations: 4 kB / 0.8214 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.0121, allocations: 0 / 0.8214 GB, free: 7.707 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.01227, allocations: 209.7 kB / 0.8216 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.01227, allocations: 0 / 0.8216 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.659e-05/0.01235, allocations: 31.91 kB / 0.8217 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01236, allocations: 4.5 kB / 0.8217 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.01237, allocations: 4.875 kB / 0.8217 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01237, allocations: 0 / 0.8217 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01237, allocations: 0 / 0.8217 GB, free: 7.43 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002066/0.01258, allocations: 270.5 kB / 0.8219 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.01262, allocations: 35.78 kB / 0.822 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.01264, allocations: 5.125 kB / 0.822 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.01271, allocations: 11.98 kB / 0.822 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.01276, allocations: 11.98 kB / 0.822 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.01277, allocations: 5.078 kB / 0.822 GB, free: 7.082 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.447e-05/0.01286, allocations: 211 kB / 0.8222 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01286, allocations: 0.6562 kB / 0.8222 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001811/0.01305, allocations: 43.94 kB / 0.8222 GB, free: 6.836 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.0001359/0.01318, allocations: 108 kB / 0.8223 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001561/0.01334, allocations: 75 kB / 0.8224 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01334, allocations: 0 / 0.8224 GB, free: 6.648 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.97e-05/0.0134, allocations: 54.59 kB / 0.8225 GB, free: 6.594 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.01369, allocations: 59.7 kB / 0.8225 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008042/0.0145, allocations: 417 kB / 0.8229 GB, free: 6.094 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.214e-05/0.01456, allocations: 83.81 kB / 0.823 GB, free: 5.992 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001057/0.01467, allocations: 53.42 kB / 0.8231 GB, free: 5.938 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.01471, allocations: 20.48 kB / 0.8231 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of SimCode: time 1.032e-06/0.01471, allocations: 0 / 0.8231 GB, free: 5.918 MB / 0.7761 GB Notification: Performance of Templates: time 0.004727/0.01944, allocations: 2.623 MB / 0.8256 GB, free: 3.387 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: 4.981091611087322]