Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.002866/0.002866, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.00328/0.00328, allocations: 165.7 kB / 23.55 MB, free: 0.8711 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.605/1.605, allocations: 177.1 MB / 203.9 MB, free: 5.633 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.078/3.078, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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.ASHRAEHeatLoss,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.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,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.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.342e-05/3.547e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003601/0.003636, allocations: 1.896 MB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00537/0.009006, allocations: 3.668 MB / 0.8162 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001075/0.009114, allocations: 0 / 0.8162 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0008054/0.009919, allocations: 170.8 kB / 0.8164 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002181/0.01014, allocations: 75.42 kB / 0.8165 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.01029, allocations: 60.75 kB / 0.8165 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005494/0.01084, allocations: 274 kB / 0.8168 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.01095, allocations: 21.78 kB / 0.8168 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.01112, allocations: 99.61 kB / 0.8169 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.01128, allocations: 68.64 kB / 0.817 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.01131, allocations: 8 kB / 0.817 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001031/0.01141, allocations: 28.81 kB / 0.817 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.0115, allocations: 59.83 kB / 0.8171 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.952e-05/0.01159, allocations: 57.06 kB / 0.8171 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.01191, allocations: 187.3 kB / 0.8173 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01191, allocations: 4 kB / 0.8173 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.954e-06/0.01192, allocations: 0.8438 kB / 0.8173 GB, free: 11.44 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.01192, allocations: 0 / 0.8173 GB, free: 11.44 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.001064/0.01299, allocations: 0.5585 MB / 0.8178 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.01302, allocations: 8.031 kB / 0.8179 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.01339, allocations: 58.14 kB / 0.8179 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.01375, allocations: 201 kB / 0.8181 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.01377, allocations: 8.375 kB / 0.8181 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.01379, allocations: 4.375 kB / 0.8181 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.01407, allocations: 101 kB / 0.8182 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.01408, allocations: 4.188 kB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.0141, allocations: 4.125 kB / 0.8182 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.01413, allocations: 11.98 kB / 0.8182 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003001/0.01443, allocations: 76.45 kB / 0.8183 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007471/0.01518, allocations: 412.6 kB / 0.8187 GB, free: 9.914 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.0155, allocations: 116 kB / 0.8188 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.0157, allocations: 64.14 kB / 0.8189 GB, free: 9.723 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.01572, allocations: 5.312 kB / 0.8189 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.01576, allocations: 37.64 kB / 0.8189 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 9.92e-07/0.01576, allocations: 0 / 0.8189 GB, free: 9.672 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.0006435/0.0164, allocations: 199.6 kB / 0.8191 GB, free: 9.473 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/0.01646, allocations: 55.41 kB / 0.8192 GB, free: 9.406 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003195/0.01678, allocations: 317.3 kB / 0.8195 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/0.01682, allocations: 29.7 kB / 0.8195 GB, free: 9.047 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001442/0.01696, allocations: 186.8 kB / 0.8197 GB, free: 8.859 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.01702, allocations: 52.17 kB / 0.8197 GB, free: 8.809 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.6e-05/0.0171, allocations: 40.02 kB / 0.8197 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002822/0.01738, allocations: 0.5157 MB / 0.8203 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.01753, allocations: 34.72 kB / 0.8203 GB, free: 8.203 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001431/0.01768, allocations: 46.72 kB / 0.8203 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002991/0.01797, allocations: 99.53 kB / 0.8204 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.01798, allocations: 2.719 kB / 0.8204 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003988/0.01838, allocations: 149.4 kB / 0.8206 GB, free: 7.906 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.01839, allocations: 10.81 kB / 0.8206 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.0184, allocations: 3.984 kB / 0.8206 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.01841, allocations: 0 / 0.8206 GB, free: 7.895 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.01863, allocations: 28.92 kB / 0.8206 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.01864, allocations: 0 / 0.8206 GB, free: 7.867 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.01876, allocations: 21.03 kB / 0.8206 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.698e-05/0.01878, allocations: 4 kB / 0.8206 GB, free: 7.844 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.0001477/0.01893, allocations: 169.6 kB / 0.8208 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.01899, allocations: 27.8 kB / 0.8208 GB, free: 7.641 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.674e-05/0.01907, allocations: 35.23 kB / 0.8209 GB, free: 7.609 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01907, allocations: 3.984 kB / 0.8209 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01908, allocations: 0 / 0.8209 GB, free: 7.605 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.01908, allocations: 3.984 kB / 0.8209 GB, free: 7.602 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003002/0.01938, allocations: 211.3 kB / 0.8211 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01938, allocations: 0 / 0.8211 GB, free: 7.363 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.01958, allocations: 31.92 kB / 0.8211 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.01958, allocations: 0 / 0.8211 GB, free: 7.332 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.0196, allocations: 3.984 kB / 0.8211 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.0196, allocations: 0 / 0.8211 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.0196, allocations: 7.938 kB / 0.8211 GB, free: 7.32 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005159/0.02012, allocations: 304.9 kB / 0.8214 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.02022, allocations: 47.72 kB / 0.8214 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.221e-05/0.02025, allocations: 0 / 0.8214 GB, free: 6.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.02041, allocations: 4 kB / 0.8214 GB, free: 6.957 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.022e-05/0.02048, allocations: 19.97 kB / 0.8215 GB, free: 6.938 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.02049, allocations: 4 kB / 0.8215 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.000207/0.0207, allocations: 221.1 kB / 0.8217 GB, free: 6.719 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.0207, allocations: 4 kB / 0.8217 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002734/0.02097, allocations: 35.94 kB / 0.8217 GB, free: 6.68 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.0002025/0.02117, allocations: 107.2 kB / 0.8218 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004008/0.02158, allocations: 111.6 kB / 0.8219 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02158, allocations: 0 / 0.8219 GB, free: 6.453 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.02177, allocations: 75.53 kB / 0.822 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.0222, allocations: 54.14 kB / 0.8221 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008709/0.02307, allocations: 407.5 kB / 0.8224 GB, free: 5.895 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.02322, allocations: 128.1 kB / 0.8226 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.000161/0.02338, allocations: 45.44 kB / 0.8226 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.02344, allocations: 24.48 kB / 0.8226 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.02345, allocations: 0 / 0.8226 GB, free: 5.684 MB / 0.7761 GB Notification: Performance of Templates: time 0.006762/0.03021, allocations: 2.359 MB / 0.8249 GB, free: 3.41 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.533844362944365]