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.001733/0.001733, 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.002022/0.002022, allocations: 211.3 kB / 22.24 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.637/1.637, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.322/3.322, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002128/0.002128, allocations: 67.95 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4119/0.4141, allocations: 176.1 MB / 1.326 GB, free: 1.875 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.004529/0.4186, allocations: 1.84 MB / 1.327 GB, free: 28 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005993/0.4246, allocations: 3.398 MB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.4248, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001039/0.4258, allocations: 167.3 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.4262, allocations: 75.48 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002046/0.4264, allocations: 55.91 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000637/0.427, allocations: 267.1 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001364/0.4272, allocations: 25.72 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.4274, allocations: 75.69 kB / 1.331 GB, free: 11.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.4276, allocations: 75.56 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.775e-05/0.4276, allocations: 8 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.4277, allocations: 23.98 kB / 1.331 GB, free: 11.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.211e-05/0.4278, allocations: 55.81 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.809e-05/0.4279, allocations: 75.53 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003465/0.4283, allocations: 207 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.4283, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4283, allocations: 3.938 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.4283, allocations: 0 / 1.332 GB, free: 11.52 MB / 1.029 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.001045/0.4293, allocations: 476.8 kB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4294, allocations: 8.031 kB / 1.332 GB, free: 11.01 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004399/0.4298, allocations: 64.7 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000545/0.4303, allocations: 197.5 kB / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.4304, allocations: 384 / 1.332 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.693e-05/0.4304, allocations: 8.359 kB / 1.332 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.4308, allocations: 141.6 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.4308, allocations: 0 / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.848e-05/0.4308, allocations: 7.984 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.346e-05/0.4309, allocations: 12 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004474/0.4313, allocations: 131.9 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007864/0.4321, allocations: 368.2 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004331/0.4325, allocations: 154.5 kB / 1.333 GB, free: 9.879 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002628/0.4328, allocations: 96.78 kB / 1.333 GB, free: 9.781 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.4328, allocations: 4 kB / 1.333 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.4328, allocations: 30.56 kB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.4328, allocations: 0 / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0008751/0.4337, allocations: 292.4 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.4338, allocations: 55.41 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.434, allocations: 245.9 kB / 1.334 GB, free: 9.137 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.4341, allocations: 29.64 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.4342, allocations: 140.1 kB / 1.334 GB, free: 8.961 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.802e-05/0.4342, allocations: 51.62 kB / 1.334 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.353e-05/0.4343, allocations: 25.7 kB / 1.334 GB, free: 8.879 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001763/0.4345, allocations: 342.8 kB / 1.334 GB, free: 8.535 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002305/0.4347, allocations: 67.94 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/0.4349, allocations: 67.94 kB / 1.335 GB, free: 8.402 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004504/0.4354, allocations: 156.8 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.4354, allocations: 0 / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005542/0.4359, allocations: 218.7 kB / 1.335 GB, free: 8.027 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/0.436, allocations: 9.719 kB / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.436, allocations: 0 / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.436, allocations: 0 / 1.335 GB, free: 8.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002447/0.4362, allocations: 39.95 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.4362, allocations: 0 / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000163/0.4364, allocations: 23.88 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.4364, allocations: 8 kB / 1.335 GB, free: 7.949 MB / 1.029 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.0001513/0.4366, allocations: 146.2 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.4366, allocations: 27.78 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.159e-05/0.4367, allocations: 25.78 kB / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4367, allocations: 0 / 1.335 GB, free: 7.742 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.4367, allocations: 3.984 kB / 1.335 GB, free: 7.738 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4367, allocations: 4 kB / 1.335 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002816/0.437, allocations: 197.1 kB / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.437, allocations: 0 / 1.335 GB, free: 7.512 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000206/0.4372, allocations: 35.97 kB / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.4372, allocations: 0 / 1.335 GB, free: 7.477 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.4372, allocations: 7.984 kB / 1.335 GB, free: 7.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.4372, allocations: 4 kB / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.4372, allocations: 0 / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.4378, allocations: 313.5 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.4379, allocations: 39.78 kB / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.438, allocations: 0 / 1.336 GB, free: 7.105 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.4382, allocations: 19.97 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.4382, allocations: 7.984 kB / 1.336 GB, free: 7.078 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4382, allocations: 4 kB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001872/0.4384, allocations: 185.1 kB / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4384, allocations: 0 / 1.336 GB, free: 6.891 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003009/0.4387, allocations: 36 kB / 1.336 GB, free: 6.855 MB / 1.029 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.0001883/0.4389, allocations: 111.2 kB / 1.336 GB, free: 6.738 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000534/0.4394, allocations: 167.8 kB / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4395, allocations: 0 / 1.336 GB, free: 6.574 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002511/0.4397, allocations: 83.88 kB / 1.336 GB, free: 6.492 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004452/0.4401, allocations: 60.31 kB / 1.336 GB, free: 6.434 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.4412, allocations: 462.5 kB / 1.337 GB, free: 5.953 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000159/0.4414, allocations: 132 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000188/0.4415, allocations: 49.38 kB / 1.337 GB, free: 5.758 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.479e-05/0.4416, allocations: 19.44 kB / 1.337 GB, free: 5.738 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.4416, allocations: 0 / 1.337 GB, free: 5.738 MB / 1.029 GB Notification: Performance of Templates: time 0.007008/0.4486, allocations: 2.616 MB / 1.34 GB, free: 3.191 MB / 1.029 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 400] 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: 9.45912061817944]