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.002008/0.002008, allocations: 80.41 kB / 20.23 MB, free: 4.203 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.002478/0.002478, allocations: 161.7 kB / 23.54 MB, free: 0.8945 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.564/1.564, allocations: 177.1 MB / 203.9 MB, free: 5.59 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 2.901/2.901, allocations: 377.8 MB / 0.6232 GB, free: 8.578 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.352e-06/1.352e-06, allocations: 0 / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.686e-05/3.821e-05, allocations: 6.938 kB / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss): time 0.003869/0.003908, allocations: 1.859 MB / 0.8126 GB, free: 248 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.005902/0.00981, allocations: 3.451 MB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.009977, allocations: 4.469 kB / 0.816 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.011, allocations: 177.4 kB / 0.8162 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.01134, allocations: 85.25 kB / 0.8162 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.01152, allocations: 52.7 kB / 0.8163 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009308/0.01245, allocations: 281.1 kB / 0.8166 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.01257, allocations: 21.73 kB / 0.8166 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.0128, allocations: 108.5 kB / 0.8167 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.01296, allocations: 67.8 kB / 0.8168 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.01299, allocations: 8.938 kB / 0.8168 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.01311, allocations: 27.92 kB / 0.8168 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.197e-05/0.0132, allocations: 57.33 kB / 0.8168 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.0133, allocations: 59.8 kB / 0.8169 GB, free: 11.87 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.01367, allocations: 203.2 kB / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.01367, allocations: 0 / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.353e-06/0.01367, allocations: 1.25 kB / 0.8171 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.01368, allocations: 0 / 0.8171 GB, free: 11.67 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.001067/0.01475, allocations: 483.8 kB / 0.8176 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.01479, allocations: 8.031 kB / 0.8176 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000433/0.01523, allocations: 68.7 kB / 0.8176 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005194/0.01575, allocations: 207.5 kB / 0.8178 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.01576, allocations: 384 / 0.8178 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.01578, allocations: 4.375 kB / 0.8178 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004228/0.0162, allocations: 147.2 kB / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.01621, allocations: 1.219 kB / 0.818 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.01624, allocations: 8.125 kB / 0.818 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.441e-05/0.01627, allocations: 11.98 kB / 0.818 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005079/0.01678, allocations: 138.3 kB / 0.8181 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008028/0.01758, allocations: 384.9 kB / 0.8185 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/0.01806, allocations: 164.9 kB / 0.8187 GB, free: 9.992 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002892/0.01834, allocations: 103.7 kB / 0.8188 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.128e-05/0.01837, allocations: 0 / 0.8188 GB, free: 9.891 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.558e-05/0.01841, allocations: 34.56 kB / 0.8188 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.01841, allocations: 0 / 0.8188 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0009564/0.01937, allocations: 295.6 kB / 0.8191 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/0.01943, allocations: 55.41 kB / 0.8191 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.01972, allocations: 257.3 kB / 0.8194 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.01975, allocations: 25.7 kB / 0.8194 GB, free: 9.199 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.01988, allocations: 145.2 kB / 0.8195 GB, free: 9.055 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.01994, allocations: 43.58 kB / 0.8196 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.023e-05/0.02002, allocations: 37.7 kB / 0.8196 GB, free: 8.969 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.02022, allocations: 336.1 kB / 0.8199 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/0.02049, allocations: 78.88 kB / 0.82 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002486/0.02074, allocations: 81.8 kB / 0.8201 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.02124, allocations: 161.4 kB / 0.8202 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.02124, allocations: 1.656 kB / 0.8202 GB, free: 8.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006328/0.02188, allocations: 232.9 kB / 0.8205 GB, free: 8.09 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.0219, allocations: 8 kB / 0.8205 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.0219, allocations: 0 / 0.8205 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.02192, allocations: 0 / 0.8205 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.0222, allocations: 35.95 kB / 0.8205 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.02221, allocations: 3.938 kB / 0.8205 GB, free: 8.043 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.0224, allocations: 15.94 kB / 0.8205 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.02242, allocations: 8 kB / 0.8205 GB, free: 8.02 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.0001638/0.02258, allocations: 141.8 kB / 0.8207 GB, free: 7.871 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.02266, allocations: 31.8 kB / 0.8207 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.053e-05/0.02273, allocations: 29.8 kB / 0.8207 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.02273, allocations: 0 / 0.8207 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.02274, allocations: 0 / 0.8207 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.02274, allocations: 0 / 0.8207 GB, free: 7.809 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.02306, allocations: 209.1 kB / 0.8209 GB, free: 7.574 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.02307, allocations: 3.984 kB / 0.8209 GB, free: 7.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002548/0.02332, allocations: 39.89 kB / 0.821 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.02333, allocations: 4 kB / 0.821 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.02335, allocations: 11.94 kB / 0.821 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.02335, allocations: 0 / 0.821 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.02335, allocations: 0 / 0.821 GB, free: 7.516 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007138/0.02407, allocations: 319.3 kB / 0.8213 GB, free: 7.188 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.02417, allocations: 39.78 kB / 0.8213 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.02421, allocations: 0 / 0.8213 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.02441, allocations: 15.98 kB / 0.8213 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.02448, allocations: 15.97 kB / 0.8213 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.0245, allocations: 0 / 0.8213 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002139/0.02471, allocations: 187.1 kB / 0.8215 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.02471, allocations: 0 / 0.8215 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003097/0.02502, allocations: 43.94 kB / 0.8216 GB, free: 6.891 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.0002225/0.02524, allocations: 107.2 kB / 0.8217 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005989/0.02584, allocations: 179.8 kB / 0.8218 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.02584, allocations: 0 / 0.8218 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002719/0.02612, allocations: 87.86 kB / 0.8219 GB, free: 6.516 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.0266, allocations: 68.7 kB / 0.822 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009951/0.02759, allocations: 461.8 kB / 0.8224 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001594/0.02775, allocations: 136 kB / 0.8226 GB, free: 5.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001943/0.02795, allocations: 57.42 kB / 0.8226 GB, free: 5.758 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.252e-05/0.02802, allocations: 20.5 kB / 0.8226 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of SimCode: time 6.12e-07/0.02802, allocations: 0 / 0.8226 GB, free: 5.738 MB / 0.7761 GB Notification: Performance of Templates: time 0.007355/0.03537, allocations: 2.609 MB / 0.8252 GB, free: 3.223 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) [Timeout 400] 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.021584343980066]