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.00254/0.00254, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002947/0.002947, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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 1.618/1.618, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 3.036/3.036, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] 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.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|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.1.|heaLos.QLos_flow.2.|heaLos.QLos_flow.3.|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.764e-06/1.764e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.187e-05, allocations: 7.344 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003727/0.003759, allocations: 1.908 MB / 0.8127 GB, free: 204 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005991/0.00975, allocations: 3.725 MB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.009894, allocations: 4 kB / 0.8163 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009364/0.01083, allocations: 172.9 kB / 0.8165 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.01108, allocations: 88.95 kB / 0.8166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.01124, allocations: 52.52 kB / 0.8166 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.01182, allocations: 289.4 kB / 0.8169 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.873e-05/0.01192, allocations: 17.75 kB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.01211, allocations: 108.5 kB / 0.817 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.01226, allocations: 60.86 kB / 0.8171 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.0123, allocations: 11.94 kB / 0.8171 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.01241, allocations: 31.92 kB / 0.8171 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.309e-05/0.0125, allocations: 56.98 kB / 0.8172 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.01262, allocations: 67.78 kB / 0.8172 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00033/0.01295, allocations: 196.1 kB / 0.8174 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.01295, allocations: 3.938 kB / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.143e-06/0.01295, allocations: 0 / 0.8174 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.01296, allocations: 2.219 kB / 0.8174 GB, free: 11.34 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.001036/0.01399, allocations: 0.5613 MB / 0.818 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.01403, allocations: 8.031 kB / 0.818 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003913/0.01443, allocations: 63.56 kB / 0.818 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.01484, allocations: 208.7 kB / 0.8182 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.01486, allocations: 4.375 kB / 0.8182 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.01488, allocations: 4.375 kB / 0.8182 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003001/0.01518, allocations: 99.62 kB / 0.8183 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.01519, allocations: 192 / 0.8183 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.933e-05/0.01521, allocations: 4.125 kB / 0.8183 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.01525, allocations: 15.98 kB / 0.8184 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003326/0.01558, allocations: 81.08 kB / 0.8184 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008338/0.01641, allocations: 425.4 kB / 0.8188 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/0.01677, allocations: 119 kB / 0.819 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.01697, allocations: 68.94 kB / 0.819 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.326e-05/0.01699, allocations: 0 / 0.819 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.01703, allocations: 38.48 kB / 0.8191 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 8.92e-07/0.01703, allocations: 0 / 0.8191 GB, free: 9.551 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0007018/0.01773, allocations: 195.1 kB / 0.8192 GB, free: 9.355 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.01778, allocations: 55.19 kB / 0.8193 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.01815, allocations: 342.3 kB / 0.8196 GB, free: 8.938 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.78e-05/0.01818, allocations: 25.7 kB / 0.8196 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.01834, allocations: 194.8 kB / 0.8198 GB, free: 8.711 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.01842, allocations: 51.58 kB / 0.8199 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.01851, allocations: 43.36 kB / 0.8199 GB, free: 8.609 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003057/0.01881, allocations: 0.5157 MB / 0.8204 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.01898, allocations: 43.91 kB / 0.8205 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/0.01913, allocations: 39.25 kB / 0.8205 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.01946, allocations: 100.6 kB / 0.8206 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.01946, allocations: 0 / 0.8206 GB, free: 7.902 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004336/0.01989, allocations: 165.5 kB / 0.8208 GB, free: 7.738 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.01991, allocations: 5.906 kB / 0.8208 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01991, allocations: 0 / 0.8208 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.01993, allocations: 0 / 0.8208 GB, free: 7.734 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.02016, allocations: 32.98 kB / 0.8208 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.02017, allocations: 11.98 kB / 0.8208 GB, free: 7.691 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.02031, allocations: 8.609 kB / 0.8208 GB, free: 7.684 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.02033, allocations: 4 kB / 0.8208 GB, free: 7.68 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 0.0001493/0.02048, allocations: 171.5 kB / 0.821 GB, free: 7.504 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.276e-05/0.02054, allocations: 27.8 kB / 0.821 GB, free: 7.477 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.758e-05/0.02062, allocations: 33.8 kB / 0.821 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.02062, allocations: 3.984 kB / 0.821 GB, free: 7.438 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.02063, allocations: 4 kB / 0.821 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.02063, allocations: 0 / 0.821 GB, free: 7.434 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003106/0.02094, allocations: 208.5 kB / 0.8212 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.02094, allocations: 1.312 kB / 0.8212 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/0.02116, allocations: 43.84 kB / 0.8213 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.02116, allocations: 0 / 0.8213 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.02117, allocations: 0.5938 kB / 0.8213 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.02117, allocations: 1 kB / 0.8213 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.02118, allocations: 4 kB / 0.8213 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007723/0.02195, allocations: 308.4 kB / 0.8216 GB, free: 6.828 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.02205, allocations: 39.78 kB / 0.8216 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.471e-05/0.02209, allocations: 3.984 kB / 0.8216 GB, free: 6.785 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.02226, allocations: 8 kB / 0.8216 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.02232, allocations: 11.97 kB / 0.8216 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.827e-05/0.02234, allocations: 11.94 kB / 0.8217 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002167/0.02255, allocations: 222.9 kB / 0.8219 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.02255, allocations: 0 / 0.8219 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002879/0.02284, allocations: 47.92 kB / 0.8219 GB, free: 6.492 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.0001939/0.02303, allocations: 111.2 kB / 0.822 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004151/0.02345, allocations: 115.6 kB / 0.8221 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.02345, allocations: 0 / 0.8221 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002058/0.02366, allocations: 74.89 kB / 0.8222 GB, free: 6.184 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.0241, allocations: 56.92 kB / 0.8223 GB, free: 6.121 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008678/0.02497, allocations: 417.8 kB / 0.8227 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.02513, allocations: 136.1 kB / 0.8228 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000178/0.0253, allocations: 41.44 kB / 0.8228 GB, free: 5.488 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.259e-05/0.02538, allocations: 24.48 kB / 0.8229 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of SimCode: time 7.41e-07/0.02538, allocations: 0 / 0.8229 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of Templates: time 0.007188/0.03257, allocations: 2.618 MB / 0.8254 GB, free: 2.941 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.410126647097059]