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.001892/0.001892, allocations: 110.4 kB / 16.46 MB, free: 6.508 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.002347/0.002347, allocations: 216.2 kB / 19.43 MB, free: 3.648 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.623/1.623, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.3/3.3, allocations: 0.4899 GB / 0.7915 GB, free: 33.45 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.002065/0.002065, allocations: 70.5 kB / 1.149 GB, free: 26.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3927, allocations: 176.1 MB / 1.321 GB, free: 2.855 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003327/0.396, allocations: 1.896 MB / 1.323 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004709/0.4007, allocations: 3.666 MB / 1.327 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001472/0.4009, allocations: 7.938 kB / 1.327 GB, free: 13.26 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007699/0.4017, allocations: 175.2 kB / 1.327 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.4019, allocations: 71.55 kB / 1.327 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001445/0.402, allocations: 55.84 kB / 1.327 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000471/0.4025, allocations: 267.2 kB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.4026, allocations: 25.52 kB / 1.327 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.4027, allocations: 79.69 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001515/0.4029, allocations: 79.62 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.4029, allocations: 8 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-05/0.403, allocations: 35.91 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.174e-05/0.4031, allocations: 55.81 kB / 1.328 GB, free: 12.42 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.766e-05/0.4032, allocations: 87.42 kB / 1.328 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.4034, allocations: 195 kB / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4034, allocations: 0 / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4034, allocations: 0 / 1.328 GB, free: 12.14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4035, allocations: 0 / 1.328 GB, free: 12.14 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.0009331/0.4044, allocations: 0.5409 MB / 1.328 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4044, allocations: 8.031 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003983/0.4048, allocations: 68.64 kB / 1.328 GB, free: 11.48 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004633/0.4053, allocations: 251.9 kB / 1.329 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.4053, allocations: 4.375 kB / 1.329 GB, free: 11.19 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.4053, allocations: 12.36 kB / 1.329 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.4057, allocations: 141.6 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4057, allocations: 0 / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.4057, allocations: 4 kB / 1.329 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.009e-05/0.4058, allocations: 7.938 kB / 1.329 GB, free: 11.02 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004451/0.4062, allocations: 142.4 kB / 1.329 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007211/0.4069, allocations: 448.5 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004359/0.4074, allocations: 158.4 kB / 1.329 GB, free: 10.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.4076, allocations: 96.78 kB / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/0.4077, allocations: 0 / 1.33 GB, free: 10.14 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4077, allocations: 34.5 kB / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of pre-optimization done (n=13): time 8.01e-07/0.4077, allocations: 0 / 1.33 GB, free: 10.09 MB / 1.029 GB Notification: Performance of matching and sorting (n=13): time 0.0009528/0.4086, allocations: 295.2 kB / 1.33 GB, free: 9.801 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.4087, allocations: 51.41 kB / 1.33 GB, free: 9.738 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002596/0.4089, allocations: 246.7 kB / 1.33 GB, free: 9.48 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.409, allocations: 33.7 kB / 1.33 GB, free: 9.441 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.4091, allocations: 128.1 kB / 1.33 GB, free: 9.312 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.496e-05/0.4091, allocations: 47.64 kB / 1.33 GB, free: 9.266 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.735e-05/0.4092, allocations: 37.64 kB / 1.33 GB, free: 9.223 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4094, allocations: 338.8 kB / 1.331 GB, free: 8.883 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.4096, allocations: 67.94 kB / 1.331 GB, free: 8.816 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.4098, allocations: 71.94 kB / 1.331 GB, free: 8.746 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000463/0.4103, allocations: 163.4 kB / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4103, allocations: 0 / 1.331 GB, free: 8.586 MB / 1.029 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005387/0.4108, allocations: 209.4 kB / 1.331 GB, free: 8.375 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4108, allocations: 4 kB / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4108, allocations: 0 / 1.331 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4108, allocations: 4 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002463/0.4111, allocations: 43.89 kB / 1.331 GB, free: 8.324 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4111, allocations: 4 kB / 1.331 GB, free: 8.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.4113, allocations: 19.88 kB / 1.331 GB, free: 8.301 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.4113, allocations: 4 kB / 1.331 GB, free: 8.297 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.000139/0.4114, allocations: 141.8 kB / 1.331 GB, free: 8.148 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.145e-05/0.4115, allocations: 23.86 kB / 1.331 GB, free: 8.125 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.521e-05/0.4115, allocations: 29.83 kB / 1.331 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4115, allocations: 0 / 1.331 GB, free: 8.094 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.4115, allocations: 4 kB / 1.331 GB, free: 8.09 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4115, allocations: 3.984 kB / 1.331 GB, free: 8.086 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.4119, allocations: 273.4 kB / 1.332 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.4119, allocations: 0 / 1.332 GB, free: 7.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002146/0.4121, allocations: 35.91 kB / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.4121, allocations: 0 / 1.332 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.4121, allocations: 8 kB / 1.332 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.4121, allocations: 0 / 1.332 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.4121, allocations: 3.984 kB / 1.332 GB, free: 7.723 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.4127, allocations: 307.2 kB / 1.332 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.4128, allocations: 112.9 kB / 1.332 GB, free: 7.277 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.4129, allocations: 4 kB / 1.332 GB, free: 7.273 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.4131, allocations: 19.92 kB / 1.332 GB, free: 7.254 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.4131, allocations: 15.97 kB / 1.332 GB, free: 7.238 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.4131, allocations: 4 kB / 1.332 GB, free: 7.234 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001634/0.4133, allocations: 181.9 kB / 1.332 GB, free: 7.059 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4133, allocations: 3.938 kB / 1.332 GB, free: 7.055 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002898/0.4136, allocations: 43.94 kB / 1.332 GB, free: 7.012 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.0001763/0.4138, allocations: 107.2 kB / 1.333 GB, free: 6.898 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005798/0.4143, allocations: 175.7 kB / 1.333 GB, free: 6.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4143, allocations: 0 / 1.333 GB, free: 6.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.4146, allocations: 83.92 kB / 1.333 GB, free: 6.648 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000448/0.415, allocations: 44.53 kB / 1.333 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001149/0.4162, allocations: 454.6 kB / 1.333 GB, free: 6.133 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005255/0.4167, allocations: 0.7435 MB / 1.334 GB, free: 5.359 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001836/0.4169, allocations: 53.36 kB / 1.334 GB, free: 5.309 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.417, allocations: 23.42 kB / 1.334 GB, free: 5.285 MB / 1.029 GB Notification: Performance of SimCode: time 1.012e-06/0.417, allocations: 4 kB / 1.334 GB, free: 5.281 MB / 1.029 GB Notification: Performance of Templates: time 0.007527/0.4245, allocations: 2.303 MB / 1.336 GB, free: 3.02 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.389442051760852]