Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001606/0.001606, allocations: 104.3 kB / 19.7 MB, free: 2 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.00178/0.00178, allocations: 222.2 kB / 22.99 MB, free: 4.91 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.824 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.459/3.459, allocations: 0.5107 GB / 0.8166 GB, free: 17.87 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002063/0.002063, allocations: 67.81 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3965, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.004568/0.4011, allocations: 1.84 MB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005936/0.407, allocations: 3.403 MB / 1.37 GB, free: 8.328 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001862/0.4072, allocations: 7.938 kB / 1.37 GB, free: 8.32 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0008448/0.4081, allocations: 167.3 kB / 1.37 GB, free: 8.156 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.4083, allocations: 71.48 kB / 1.37 GB, free: 8.086 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.4084, allocations: 55.91 kB / 1.37 GB, free: 8.031 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005152/0.4089, allocations: 271.1 kB / 1.37 GB, free: 7.766 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.409, allocations: 21.72 kB / 1.37 GB, free: 7.746 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.4092, allocations: 75.7 kB / 1.37 GB, free: 7.672 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.4093, allocations: 75.67 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.4094, allocations: 8 kB / 1.37 GB, free: 7.59 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.903e-05/0.4095, allocations: 35.92 kB / 1.37 GB, free: 7.555 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 8.497e-05/0.4095, allocations: 55.81 kB / 1.371 GB, free: 7.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.472e-05/0.4096, allocations: 67.55 kB / 1.371 GB, free: 7.434 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000281/0.4099, allocations: 202.9 kB / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4099, allocations: 0 / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4099, allocations: 0 / 1.371 GB, free: 7.234 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.4099, allocations: 4 kB / 1.371 GB, free: 7.23 MB / 1.061 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.0009057/0.4108, allocations: 472.8 kB / 1.371 GB, free: 6.738 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.4109, allocations: 8.031 kB / 1.371 GB, free: 6.73 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008488/0.4117, allocations: 116.7 kB / 1.371 GB, free: 6.617 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000515/0.4122, allocations: 205.5 kB / 1.372 GB, free: 6.395 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.4122, allocations: 384 / 1.372 GB, free: 6.395 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.4123, allocations: 12.36 kB / 1.372 GB, free: 6.383 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.4126, allocations: 162.9 kB / 1.372 GB, free: 6.219 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4127, allocations: 0 / 1.372 GB, free: 6.219 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.4127, allocations: 0 / 1.372 GB, free: 6.219 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/0.4127, allocations: 8 kB / 1.372 GB, free: 6.211 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/0.4132, allocations: 151.9 kB / 1.372 GB, free: 6.062 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007409/0.4139, allocations: 392.1 kB / 1.372 GB, free: 5.648 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.4143, allocations: 170.5 kB / 1.372 GB, free: 5.473 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.4146, allocations: 100.8 kB / 1.373 GB, free: 5.371 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.4146, allocations: 3.984 kB / 1.373 GB, free: 5.367 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.4147, allocations: 34.56 kB / 1.373 GB, free: 5.324 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.4147, allocations: 0 / 1.373 GB, free: 5.324 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.0008774/0.4155, allocations: 309.5 kB / 1.373 GB, free: 5.016 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/0.4156, allocations: 59.41 kB / 1.373 GB, free: 4.945 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.4159, allocations: 241.9 kB / 1.373 GB, free: 4.699 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.4159, allocations: 25.7 kB / 1.373 GB, free: 4.668 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000109/0.416, allocations: 136.1 kB / 1.373 GB, free: 4.531 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 6.112e-05/0.4161, allocations: 47.59 kB / 1.373 GB, free: 4.484 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.794e-05/0.4161, allocations: 33.7 kB / 1.373 GB, free: 4.445 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4163, allocations: 342.8 kB / 1.374 GB, free: 4.102 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002306/0.4165, allocations: 71.94 kB / 1.374 GB, free: 4.031 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.4168, allocations: 78.3 kB / 1.374 GB, free: 3.957 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.4172, allocations: 176.7 kB / 1.374 GB, free: 3.781 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4172, allocations: 0 / 1.374 GB, free: 3.781 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005566/0.4178, allocations: 229.4 kB / 1.374 GB, free: 3.551 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.4178, allocations: 8 kB / 1.374 GB, free: 3.543 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4178, allocations: 0 / 1.374 GB, free: 3.543 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4178, allocations: 0 / 1.374 GB, free: 3.543 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002925/0.4181, allocations: 39.95 kB / 1.374 GB, free: 3.504 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.4181, allocations: 0 / 1.374 GB, free: 3.504 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001749/0.4183, allocations: 15.92 kB / 1.374 GB, free: 3.488 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4183, allocations: 8 kB / 1.374 GB, free: 3.48 MB / 1.061 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.000146/0.4185, allocations: 142.8 kB / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.4185, allocations: 35.75 kB / 1.374 GB, free: 3.297 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.565e-05/0.4186, allocations: 33.77 kB / 1.374 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4186, allocations: 0 / 1.374 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4186, allocations: 0 / 1.374 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.4186, allocations: 0 / 1.374 GB, free: 3.262 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.4189, allocations: 205.1 kB / 1.375 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.4189, allocations: 0 / 1.375 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.4191, allocations: 35.95 kB / 1.375 GB, free: 2.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4191, allocations: 4 kB / 1.375 GB, free: 2.992 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.4191, allocations: 4 kB / 1.375 GB, free: 2.988 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4191, allocations: 4 kB / 1.375 GB, free: 2.984 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4191, allocations: 0 / 1.375 GB, free: 2.984 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006575/0.4198, allocations: 338 kB / 1.375 GB, free: 2.641 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4199, allocations: 43.72 kB / 1.375 GB, free: 2.598 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.4199, allocations: 0 / 1.375 GB, free: 2.598 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.4201, allocations: 19.98 kB / 1.375 GB, free: 2.578 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.4202, allocations: 11.97 kB / 1.375 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.4202, allocations: 4 kB / 1.375 GB, free: 2.562 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001781/0.4204, allocations: 181.2 kB / 1.375 GB, free: 2.387 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.4204, allocations: 0 / 1.375 GB, free: 2.387 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002641/0.4207, allocations: 36 kB / 1.375 GB, free: 2.352 MB / 1.061 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.000137/0.4208, allocations: 95.25 kB / 1.375 GB, free: 2.25 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005558/0.4213, allocations: 183.8 kB / 1.376 GB, free: 2.07 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.4214, allocations: 0 / 1.376 GB, free: 2.07 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.4216, allocations: 95.86 kB / 1.376 GB, free: 1.977 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.422, allocations: 54.72 kB / 1.376 GB, free: 1.926 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009175/0.4229, allocations: 497.5 kB / 1.376 GB, free: 1.402 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001441/0.4231, allocations: 136 kB / 1.376 GB, free: 1.25 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.4232, allocations: 23.42 kB / 1.376 GB, free: 1.227 MB / 1.061 GB Notification: Performance of SimCode: time 3.2e-07/0.4232, allocations: 0 / 1.376 GB, free: 1.227 MB / 1.061 GB Notification: Performance of Templates: time 0.005185/0.4284, allocations: 2.884 MB / 1.379 GB, free: 14.37 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.140391408000141]