Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001559/0.001559, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.00149/0.00149, allocations: 214.6 kB / 22.25 MB, free: 5.262 MB / 14.72 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.011/3.011, allocations: 476 MB / 0.7699 GB, free: 4.789 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaLos.QLos.1.|heaLos.QLos.2.|heaLos.QLos.3.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 68.17 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.413/0.4151, allocations: 170 MB / 1.283 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003538/0.4187, allocations: 1.868 MB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004989/0.4236, allocations: 3.323 MB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.4238, allocations: 3.938 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.4241, allocations: 43.7 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0005224/0.4246, allocations: 131.2 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001692/0.4247, allocations: 51.91 kB / 1.288 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.425, allocations: 179.2 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4251, allocations: 17.75 kB / 1.289 GB, free: 6.324 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.4253, allocations: 95.56 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.4255, allocations: 75.61 kB / 1.289 GB, free: 6.156 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.4255, allocations: 8 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001015/0.4256, allocations: 27.92 kB / 1.289 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.755e-05/0.4257, allocations: 47.83 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.4258, allocations: 59.67 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002908/0.4261, allocations: 183 kB / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.4261, allocations: 0 / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4261, allocations: 0 / 1.289 GB, free: 5.836 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.4261, allocations: 0 / 1.289 GB, free: 5.836 MB / 0.9825 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.0009307/0.427, allocations: 449.1 kB / 1.289 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4271, allocations: 12.03 kB / 1.289 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000369/0.4274, allocations: 56.75 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004617/0.4279, allocations: 197.1 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.4279, allocations: 384 / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.4279, allocations: 12.38 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.4283, allocations: 141.6 kB / 1.29 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4283, allocations: 3.984 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.4283, allocations: 4 kB / 1.29 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/0.4284, allocations: 8 kB / 1.29 GB, free: 4.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004308/0.4288, allocations: 135.9 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007055/0.4295, allocations: 364.3 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004151/0.4299, allocations: 158.3 kB / 1.29 GB, free: 4.227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002858/0.4302, allocations: 96.78 kB / 1.291 GB, free: 4.129 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.109e-05/0.4302, allocations: 4 kB / 1.291 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4302, allocations: 38.5 kB / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=13): time 1.252e-06/0.4302, allocations: 0 / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13): time 0.0009237/0.4312, allocations: 290.2 kB / 1.291 GB, free: 3.789 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.4312, allocations: 55.41 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.4315, allocations: 213 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.4315, allocations: 25.7 kB / 1.291 GB, free: 3.473 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4316, allocations: 132 kB / 1.291 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.489e-05/0.4316, allocations: 43.64 kB / 1.291 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.242e-05/0.4317, allocations: 29.7 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.4319, allocations: 330.8 kB / 1.292 GB, free: 2.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002271/0.4321, allocations: 71.94 kB / 1.292 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.4323, allocations: 77.3 kB / 1.292 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004451/0.4328, allocations: 154.5 kB / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.4328, allocations: 0 / 1.292 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005332/0.4333, allocations: 217.4 kB / 1.292 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.4333, allocations: 4 kB / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4333, allocations: 0 / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.4333, allocations: 0 / 1.292 GB, free: 2.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.4336, allocations: 35.97 kB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.4336, allocations: 7.984 kB / 1.292 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.4337, allocations: 11.98 kB / 1.292 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.4337, allocations: 7.984 kB / 1.292 GB, free: 2.348 MB / 0.9825 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.0001343/0.4339, allocations: 129.8 kB / 1.292 GB, free: 2.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.202e-05/0.4339, allocations: 31.78 kB / 1.292 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.679e-05/0.434, allocations: 25.77 kB / 1.292 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.434, allocations: 4 kB / 1.292 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.434, allocations: 0 / 1.292 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.434, allocations: 3.984 kB / 1.292 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.4343, allocations: 193.1 kB / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4343, allocations: 0 / 1.293 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.4345, allocations: 39.95 kB / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4345, allocations: 0 / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.4345, allocations: 0 / 1.293 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.4345, allocations: 4 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.02e-07/0.4345, allocations: 0 / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005918/0.4351, allocations: 318.1 kB / 1.293 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.227e-05/0.4352, allocations: 39.77 kB / 1.293 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.963e-05/0.4352, allocations: 0 / 1.293 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.4354, allocations: 15.98 kB / 1.293 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.817e-05/0.4354, allocations: 15.91 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.4354, allocations: 8 kB / 1.293 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002148/0.4357, allocations: 156.5 kB / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4357, allocations: 0 / 1.293 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002738/0.4359, allocations: 43.94 kB / 1.293 GB, free: 1.285 MB / 0.9825 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.0001658/0.4361, allocations: 99.25 kB / 1.293 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005234/0.4366, allocations: 167.8 kB / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4366, allocations: 0 / 1.293 GB, free: 1.016 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.4369, allocations: 87.88 kB / 1.294 GB, free: 0.9297 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.4372, allocations: 28.34 kB / 1.294 GB, free: 0.8984 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008573/0.4381, allocations: 428.2 kB / 1.294 GB, free: 468 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.4382, allocations: 120 kB / 1.294 GB, free: 320 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001561/0.4384, allocations: 41.05 kB / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.4384, allocations: 19.42 kB / 1.294 GB, free: 260 kB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.4384, allocations: 8 kB / 1.294 GB, free: 252 kB / 0.9825 GB Notification: Performance of Templates: time 0.005661/0.4441, allocations: 1.928 MB / 1.296 GB, free: 14.36 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.503793131560087]