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.001232/0.001232, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.00131/0.00131, allocations: 181 kB / 24.09 MB, free: 416 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.9041/0.9041, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.798/1.798, allocations: 377.9 MB / 0.624 GB, free: 8.434 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.293e-06/1.293e-06, allocations: 0 / 0.812 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.251e-05/1.381e-05, allocations: 2.312 kB / 0.812 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002007/0.002021, allocations: 1.924 MB / 0.8139 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003158/0.005179, allocations: 3.696 MB / 0.8175 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.005254, allocations: 0 / 0.8175 GB, free: 11.85 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005873/0.005842, allocations: 181.6 kB / 0.8177 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.005972, allocations: 89.48 kB / 0.8178 GB, free: 11.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 7.755e-05/0.006049, allocations: 55.84 kB / 0.8178 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003193/0.006369, allocations: 285.1 kB / 0.8181 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.006445, allocations: 22.3 kB / 0.8181 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.006554, allocations: 112.2 kB / 0.8182 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.657e-05/0.00664, allocations: 69.73 kB / 0.8183 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.667e-05/0.006657, allocations: 8 kB / 0.8183 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.207e-05/0.006719, allocations: 20 kB / 0.8183 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.006769, allocations: 59.81 kB / 0.8184 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.155e-05/0.006811, allocations: 55.8 kB / 0.8184 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.006968, allocations: 169.5 kB / 0.8186 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.006969, allocations: 0 / 0.8186 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.41e-07/0.00697, allocations: 0 / 0.8186 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.946e-06/0.006973, allocations: 0 / 0.8186 GB, free: 10.75 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.0005185/0.007491, allocations: 0.5548 MB / 0.8191 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.007531, allocations: 12.03 kB / 0.8191 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.007727, allocations: 57.36 kB / 0.8192 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.007908, allocations: 197.6 kB / 0.8194 GB, free: 9.879 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.007919, allocations: 9.219 kB / 0.8194 GB, free: 9.871 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.007931, allocations: 8.359 kB / 0.8194 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.008095, allocations: 98.28 kB / 0.8195 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.008101, allocations: 192 / 0.8195 GB, free: 9.762 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.008111, allocations: 4.125 kB / 0.8195 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.758e-05/0.008139, allocations: 11.98 kB / 0.8195 GB, free: 9.746 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.436e-05/0.008193, allocations: 27.97 kB / 0.8195 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.008518, allocations: 356.2 kB / 0.8199 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.008618, allocations: 89.19 kB / 0.82 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.43e-05/0.008663, allocations: 35.67 kB / 0.82 GB, free: 9.207 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.126e-05/0.008684, allocations: 7.938 kB / 0.82 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.008701, allocations: 33.39 kB / 0.82 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.683e-06/0.008702, allocations: 0.9688 kB / 0.82 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0001989/0.008901, allocations: 129.7 kB / 0.8201 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.008925, allocations: 56.5 kB / 0.8202 GB, free: 8.957 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.009064, allocations: 314.2 kB / 0.8205 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.009078, allocations: 25.7 kB / 0.8205 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.009153, allocations: 199.8 kB / 0.8207 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.328e-05/0.009186, allocations: 39.64 kB / 0.8208 GB, free: 8.363 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.362e-05/0.00923, allocations: 43.34 kB / 0.8208 GB, free: 8.312 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.00935, allocations: 0.5128 MB / 0.8213 GB, free: 7.789 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.076e-05/0.009381, allocations: 15.98 kB / 0.8213 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.009408, allocations: 15.98 kB / 0.8213 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.679e-05/0.009475, allocations: 46.7 kB / 0.8214 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.009477, allocations: 1.688 kB / 0.8214 GB, free: 7.711 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001232/0.0096, allocations: 113.4 kB / 0.8215 GB, free: 7.594 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/0.00961, allocations: 8 kB / 0.8215 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.009614, allocations: 0 / 0.8215 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.025e-06/0.009622, allocations: 0.5 kB / 0.8215 GB, free: 7.586 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.009729, allocations: 29.31 kB / 0.8215 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.009734, allocations: 4 kB / 0.8215 GB, free: 7.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.619e-05/0.00979, allocations: 15.94 kB / 0.8215 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.009797, allocations: 0.5625 kB / 0.8215 GB, free: 7.539 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 7.559e-05/0.009873, allocations: 165 kB / 0.8217 GB, free: 7.367 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.219e-05/0.009905, allocations: 32.44 kB / 0.8217 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.166e-05/0.009947, allocations: 33.8 kB / 0.8218 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.009948, allocations: 0.625 kB / 0.8218 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.00995, allocations: 0 / 0.8218 GB, free: 7.301 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.009953, allocations: 6.125 kB / 0.8218 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.0104, allocations: 169 kB / 0.8219 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.0104, allocations: 0 / 0.8219 GB, free: 7.105 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.118e-05/0.01048, allocations: 27.97 kB / 0.822 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01048, allocations: 0 / 0.822 GB, free: 7.078 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.01049, allocations: 10.03 kB / 0.822 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.01049, allocations: 0 / 0.822 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.01049, allocations: 0 / 0.822 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.01067, allocations: 266.7 kB / 0.8222 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.01071, allocations: 35.83 kB / 0.8223 GB, free: 6.758 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.01073, allocations: 9.5 kB / 0.8223 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.0108, allocations: 8 kB / 0.8223 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.678e-05/0.01083, allocations: 15.97 kB / 0.8223 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.01084, allocations: 3.938 kB / 0.8223 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.454e-05/0.01092, allocations: 211 kB / 0.8225 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.01092, allocations: 0 / 0.8225 GB, free: 6.52 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001798/0.0111, allocations: 43.94 kB / 0.8225 GB, free: 6.477 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.0001203/0.01122, allocations: 105.9 kB / 0.8226 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001133/0.01134, allocations: 63.64 kB / 0.8227 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.01134, allocations: 0 / 0.8227 GB, free: 6.301 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.714e-05/0.01138, allocations: 43.59 kB / 0.8227 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.01164, allocations: 64.86 kB / 0.8228 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.01225, allocations: 414.8 kB / 0.8232 GB, free: 5.75 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.69e-05/0.0123, allocations: 83.81 kB / 0.8233 GB, free: 5.648 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.716e-05/0.01236, allocations: 25.48 kB / 0.8233 GB, free: 5.621 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.01248, allocations: 122.1 kB / 0.8234 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of SimCode: time 7.81e-07/0.01248, allocations: 0 / 0.8234 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.003922/0.0164, allocations: 2.856 MB / 0.8262 GB, free: 2.73 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.627063663676381]