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.0009679/0.0009679, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009959/0.0009959, allocations: 165.6 kB / 24.87 MB, free: 8.891 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.9122/0.9122, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.6247 GB, free: 8.418 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.292e-06/1.292e-06, allocations: 0 / 0.8128 GB, free: 1.461 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.945e-05, allocations: 4.094 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.002292/0.002311, allocations: 1.935 MB / 0.8147 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003551/0.005862, allocations: 3.689 MB / 0.8183 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001225/0.005985, allocations: 7.938 kB / 0.8183 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.006668, allocations: 181.3 kB / 0.8184 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001769/0.006845, allocations: 90.69 kB / 0.8185 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001148/0.00696, allocations: 47.92 kB / 0.8186 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.007359, allocations: 295.9 kB / 0.8189 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.641e-05/0.007445, allocations: 17.81 kB / 0.8189 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001353/0.00758, allocations: 100.3 kB / 0.819 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.007681, allocations: 68.3 kB / 0.819 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.007699, allocations: 8.562 kB / 0.8191 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.747e-05/0.007776, allocations: 31.92 kB / 0.8191 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.007833, allocations: 60.92 kB / 0.8191 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.827e-05/0.007882, allocations: 47.86 kB / 0.8192 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.008065, allocations: 168.1 kB / 0.8193 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.008067, allocations: 4 kB / 0.8193 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.123e-06/0.008068, allocations: 2.188 kB / 0.8194 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.008072, allocations: 0 / 0.8194 GB, free: 10.74 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.0004999/0.008572, allocations: 0.5576 MB / 0.8199 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.008601, allocations: 8.031 kB / 0.8199 GB, free: 10.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.008795, allocations: 57.56 kB / 0.82 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.008967, allocations: 201.6 kB / 0.8201 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.00898, allocations: 1.594 kB / 0.8202 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.008994, allocations: 16.34 kB / 0.8202 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.009142, allocations: 91.8 kB / 0.8203 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.009148, allocations: 192 / 0.8203 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.009161, allocations: 12.11 kB / 0.8203 GB, free: 9.738 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.422e-05/0.009185, allocations: 9.031 kB / 0.8203 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.937e-05/0.009244, allocations: 30.47 kB / 0.8203 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003563/0.0096, allocations: 357.2 kB / 0.8206 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.009711, allocations: 87.98 kB / 0.8207 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/0.009757, allocations: 39.67 kB / 0.8208 GB, free: 9.188 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.009773, allocations: 5.062 kB / 0.8208 GB, free: 9.184 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.009792, allocations: 37.39 kB / 0.8208 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.009794, allocations: 1.094 kB / 0.8208 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0002162/0.01001, allocations: 124.5 kB / 0.8209 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.01004, allocations: 59.39 kB / 0.821 GB, free: 8.941 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.01019, allocations: 311.2 kB / 0.8213 GB, free: 8.621 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.01021, allocations: 25.7 kB / 0.8213 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.106e-05/0.01029, allocations: 199.3 kB / 0.8215 GB, free: 8.391 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-05/0.01032, allocations: 47.62 kB / 0.8215 GB, free: 8.344 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.01037, allocations: 40.97 kB / 0.8216 GB, free: 8.297 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.01049, allocations: 0.5118 MB / 0.8221 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.1e-05/0.01052, allocations: 11.98 kB / 0.8221 GB, free: 7.762 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.01056, allocations: 15.98 kB / 0.8221 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.302e-05/0.01063, allocations: 44.73 kB / 0.8221 GB, free: 7.699 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.01063, allocations: 7.938 kB / 0.8222 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001333/0.01076, allocations: 117 kB / 0.8223 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.01077, allocations: 7.984 kB / 0.8223 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.01078, allocations: 0.6562 kB / 0.8223 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.083e-06/0.01079, allocations: 0 / 0.8223 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.0109, allocations: 28.55 kB / 0.8223 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.01091, allocations: 3.438 kB / 0.8223 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.973e-05/0.01097, allocations: 11.94 kB / 0.8223 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/0.01098, allocations: 8 kB / 0.8223 GB, free: 7.52 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.646e-05/0.01105, allocations: 156.6 kB / 0.8225 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.595e-05/0.01109, allocations: 35.73 kB / 0.8225 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.651e-05/0.01112, allocations: 29.8 kB / 0.8225 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01113, allocations: 4 kB / 0.8225 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.01113, allocations: 0 / 0.8225 GB, free: 7.285 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01113, allocations: 4.766 kB / 0.8225 GB, free: 7.281 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.01128, allocations: 161.1 kB / 0.8227 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01128, allocations: 0.5938 kB / 0.8227 GB, free: 7.098 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.378e-05/0.01136, allocations: 37.5 kB / 0.8227 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.01136, allocations: 0 / 0.8227 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.01137, allocations: 3.938 kB / 0.8227 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01137, allocations: 3.984 kB / 0.8227 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01138, allocations: 4 kB / 0.8227 GB, free: 7.051 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001727/0.01155, allocations: 263.7 kB / 0.823 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.088e-05/0.01159, allocations: 31.83 kB / 0.823 GB, free: 6.742 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.01161, allocations: 3.938 kB / 0.823 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.01168, allocations: 12 kB / 0.823 GB, free: 6.727 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.01172, allocations: 11.97 kB / 0.8231 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.01173, allocations: 8 kB / 0.8231 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.765e-05/0.0118, allocations: 199 kB / 0.8233 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.0118, allocations: 0 / 0.8233 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001868/0.01199, allocations: 43.94 kB / 0.8233 GB, free: 6.473 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.0001063/0.0121, allocations: 107.2 kB / 0.8234 GB, free: 6.359 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.01221, allocations: 74.69 kB / 0.8235 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-06/0.01221, allocations: 0 / 0.8235 GB, free: 6.285 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.327e-05/0.01227, allocations: 47.59 kB / 0.8235 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.01253, allocations: 59.5 kB / 0.8236 GB, free: 6.172 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000649/0.01318, allocations: 415.3 kB / 0.824 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.582e-05/0.01323, allocations: 87.81 kB / 0.824 GB, free: 5.629 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 7.659e-05/0.0133, allocations: 17.48 kB / 0.8241 GB, free: 5.609 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.01342, allocations: 114.2 kB / 0.8242 GB, free: 5.496 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01342, allocations: 4 kB / 0.8242 GB, free: 5.492 MB / 0.7761 GB Notification: Performance of Templates: time 0.004396/0.01782, allocations: 2.905 MB / 0.827 GB, free: 2.68 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.827637063805014]