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.001184/0.001184, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001043/0.001043, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 0.9881/0.9881, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] 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 2.336/2.336, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.[0-9,]+.|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.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.73e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003165/0.003192, allocations: 1.899 MB / 0.8405 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004735/0.007927, allocations: 3.689 MB / 0.8441 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.008038, allocations: 0 / 0.8441 GB, free: 8.516 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.008646, allocations: 179.1 kB / 0.8442 GB, free: 8.34 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.008837, allocations: 71.47 kB / 0.8443 GB, free: 8.27 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.008997, allocations: 55.86 kB / 0.8444 GB, free: 8.215 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.009496, allocations: 278.9 kB / 0.8446 GB, free: 7.941 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.418e-05/0.009591, allocations: 18.45 kB / 0.8446 GB, free: 7.926 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001625/0.009753, allocations: 99.78 kB / 0.8447 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.009872, allocations: 63.8 kB / 0.8448 GB, free: 7.766 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.182e-05/0.009894, allocations: 8 kB / 0.8448 GB, free: 7.758 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.132e-05/0.009985, allocations: 27.92 kB / 0.8448 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.363e-05/0.01006, allocations: 59.77 kB / 0.8449 GB, free: 7.672 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.644e-05/0.01013, allocations: 51.86 kB / 0.8449 GB, free: 7.621 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.01035, allocations: 155.3 kB / 0.8451 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.01036, allocations: 4 kB / 0.8451 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.253e-06/0.01036, allocations: 3.938 kB / 0.8451 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.01036, allocations: 0 / 0.8451 GB, free: 7.461 MB / 0.8073 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.0005806/0.01094, allocations: 415.2 kB / 0.8455 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.01098, allocations: 8.625 kB / 0.8455 GB, free: 7.023 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005363/0.01152, allocations: 100.8 kB / 0.8456 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.01177, allocations: 184.8 kB / 0.8458 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.01178, allocations: 384 / 0.8458 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.335e-05/0.0118, allocations: 8.359 kB / 0.8458 GB, free: 6.711 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.01201, allocations: 113.6 kB / 0.8459 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.01202, allocations: 192 / 0.8459 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.01204, allocations: 4.125 kB / 0.8459 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.291e-05/0.01207, allocations: 12 kB / 0.8459 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.01216, allocations: 35.91 kB / 0.8459 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004482/0.01261, allocations: 241.8 kB / 0.8462 GB, free: 6.285 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.01275, allocations: 70.56 kB / 0.8462 GB, free: 6.207 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.944e-05/0.01281, allocations: 48.75 kB / 0.8463 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.01283, allocations: 4 kB / 0.8463 GB, free: 6.152 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.01286, allocations: 34.5 kB / 0.8463 GB, free: 6.109 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.804e-06/0.01286, allocations: 4 kB / 0.8463 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002659/0.01312, allocations: 105.9 kB / 0.8464 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.01316, allocations: 55.41 kB / 0.8465 GB, free: 5.93 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002957/0.01346, allocations: 225 kB / 0.8467 GB, free: 5.695 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.152e-05/0.01348, allocations: 25.7 kB / 0.8467 GB, free: 5.664 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.01354, allocations: 116.4 kB / 0.8468 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-05/0.01358, allocations: 43.62 kB / 0.8469 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.609e-05/0.01365, allocations: 33.69 kB / 0.8469 GB, free: 5.465 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.01377, allocations: 342.7 kB / 0.8472 GB, free: 5.121 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.01381, allocations: 11.98 kB / 0.8472 GB, free: 5.109 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.037e-05/0.01385, allocations: 15.12 kB / 0.8472 GB, free: 5.098 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.01396, allocations: 55.64 kB / 0.8473 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01396, allocations: 0 / 0.8473 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001781/0.01414, allocations: 89.59 kB / 0.8474 GB, free: 4.945 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01416, allocations: 4 kB / 0.8474 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.01416, allocations: 0 / 0.8474 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.01418, allocations: 0 / 0.8474 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001669/0.01434, allocations: 35.91 kB / 0.8474 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.01435, allocations: 0 / 0.8474 GB, free: 4.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.01444, allocations: 15.89 kB / 0.8474 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.01445, allocations: 11.98 kB / 0.8474 GB, free: 4.879 MB / 0.8073 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 9.311e-05/0.01455, allocations: 112.7 kB / 0.8476 GB, free: 4.758 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-05/0.01459, allocations: 19.92 kB / 0.8476 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.702e-05/0.01464, allocations: 33.77 kB / 0.8476 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.01464, allocations: 0 / 0.8476 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.01464, allocations: 0 / 0.8476 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01465, allocations: 0 / 0.8476 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.01485, allocations: 121.8 kB / 0.8477 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01485, allocations: 0 / 0.8477 GB, free: 4.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.01498, allocations: 39.91 kB / 0.8478 GB, free: 4.531 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.01499, allocations: 4 kB / 0.8478 GB, free: 4.527 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.015, allocations: 0 / 0.8478 GB, free: 4.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.015, allocations: 11.91 kB / 0.8478 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.015, allocations: 0 / 0.8478 GB, free: 4.516 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002103/0.01521, allocations: 182.6 kB / 0.848 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.925e-05/0.01527, allocations: 27.78 kB / 0.848 GB, free: 4.297 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.989e-05/0.0153, allocations: 4 kB / 0.848 GB, free: 4.293 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.01542, allocations: 15.92 kB / 0.848 GB, free: 4.277 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.01546, allocations: 7.984 kB / 0.848 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.01548, allocations: 15.92 kB / 0.848 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 7.982e-05/0.01556, allocations: 78.77 kB / 0.8481 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01556, allocations: 3.938 kB / 0.8481 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002493/0.01581, allocations: 36 kB / 0.8481 GB, free: 4.137 MB / 0.8073 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.0001105/0.01592, allocations: 80.41 kB / 0.8482 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.01608, allocations: 64.77 kB / 0.8483 GB, free: 3.98 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.01609, allocations: 4 kB / 0.8483 GB, free: 3.977 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.83e-05/0.01616, allocations: 32.84 kB / 0.8483 GB, free: 3.941 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.01647, allocations: 56.47 kB / 0.8484 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/0.01736, allocations: 412.5 kB / 0.8488 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.054e-05/0.01743, allocations: 87.81 kB / 0.8488 GB, free: 3.359 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0001447/0.01758, allocations: 33.42 kB / 0.8489 GB, free: 3.328 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.01774, allocations: 87.33 kB / 0.849 GB, free: 3.242 MB / 0.8073 GB Notification: Performance of SimCode: time 7.72e-07/0.01774, allocations: 0 / 0.849 GB, free: 3.242 MB / 0.8073 GB Notification: Performance of Templates: time 0.004187/0.02193, allocations: 2.565 MB / 0.8515 GB, free: 0.7422 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.2116310140118]