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.0009731/0.0009731, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009607/0.0009607, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9063/0.9063, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.805/1.805, allocations: 377.9 MB / 0.624 GB, free: 8.375 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.[0-9,]+.|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.[0-9,]+.|TEnv.y|T1.y|T2.y|T3.y",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.812 GB, free: 308 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.38e-05/2.551e-05, allocations: 2.312 kB / 0.812 GB, free: 304 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.003608/0.003634, allocations: 1.913 MB / 0.8139 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004935/0.008569, allocations: 3.654 MB / 0.8174 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001681/0.008737, allocations: 7.938 kB / 0.8174 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009223/0.009659, allocations: 161.1 kB / 0.8176 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.009929, allocations: 78.06 kB / 0.8177 GB, free: 10.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.0101, allocations: 55.86 kB / 0.8177 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005544/0.01065, allocations: 280.7 kB / 0.818 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.01076, allocations: 19.61 kB / 0.818 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.01095, allocations: 107.6 kB / 0.8181 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.01108, allocations: 55.88 kB / 0.8182 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.01111, allocations: 11.94 kB / 0.8182 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.819e-05/0.01121, allocations: 24.61 kB / 0.8182 GB, free: 9.961 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.01129, allocations: 56.52 kB / 0.8183 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.01136, allocations: 51.84 kB / 0.8183 GB, free: 9.855 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.01161, allocations: 159.8 kB / 0.8185 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.01161, allocations: 1.188 kB / 0.8185 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.112e-06/0.01161, allocations: 0 / 0.8185 GB, free: 9.699 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.01162, allocations: 0 / 0.8185 GB, free: 9.699 MB / 0.7292 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.0007642/0.01238, allocations: 0.5516 MB / 0.819 GB, free: 9.113 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.01243, allocations: 8.031 kB / 0.819 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003178/0.01275, allocations: 61.81 kB / 0.8191 GB, free: 9.047 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.013, allocations: 199.5 kB / 0.8192 GB, free: 8.828 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.01301, allocations: 9.328 kB / 0.8193 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.01303, allocations: 8.375 kB / 0.8193 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.01326, allocations: 92.7 kB / 0.8194 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.01326, allocations: 192 / 0.8194 GB, free: 8.715 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.01328, allocations: 4.125 kB / 0.8194 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.01331, allocations: 12.86 kB / 0.8194 GB, free: 8.699 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.9e-05/0.0134, allocations: 27.95 kB / 0.8194 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.01393, allocations: 350.2 kB / 0.8197 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.01409, allocations: 83.02 kB / 0.8198 GB, free: 8.211 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.01416, allocations: 35.67 kB / 0.8198 GB, free: 8.172 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.01418, allocations: 8.609 kB / 0.8199 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.01421, allocations: 41.39 kB / 0.8199 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.763e-06/0.01421, allocations: 3.438 kB / 0.8199 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0003157/0.01453, allocations: 121.7 kB / 0.82 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.01456, allocations: 55.41 kB / 0.8201 GB, free: 7.922 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.01494, allocations: 296.2 kB / 0.8203 GB, free: 7.617 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.01496, allocations: 33.7 kB / 0.8204 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001112/0.01507, allocations: 186.8 kB / 0.8206 GB, free: 7.391 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 5.346e-05/0.01512, allocations: 47.53 kB / 0.8206 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-05/0.01519, allocations: 35.36 kB / 0.8206 GB, free: 7.301 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.01537, allocations: 0.5162 MB / 0.8211 GB, free: 6.773 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.13e-05/0.01542, allocations: 12.55 kB / 0.8212 GB, free: 6.762 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.01547, allocations: 19.36 kB / 0.8212 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.911e-05/0.01557, allocations: 53.06 kB / 0.8212 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.01557, allocations: 0 / 0.8212 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001364/0.01571, allocations: 110 kB / 0.8213 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.01572, allocations: 4 kB / 0.8213 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01572, allocations: 0.7812 kB / 0.8213 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.01573, allocations: 0 / 0.8213 GB, free: 6.574 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.01585, allocations: 36.72 kB / 0.8214 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.01585, allocations: 0 / 0.8214 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.943e-05/0.0159, allocations: 8.922 kB / 0.8214 GB, free: 6.531 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.01591, allocations: 4 kB / 0.8214 GB, free: 6.527 MB / 0.7292 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 7.77e-05/0.01598, allocations: 161.9 kB / 0.8215 GB, free: 6.359 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.01602, allocations: 39.75 kB / 0.8216 GB, free: 6.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.435e-05/0.01606, allocations: 27.45 kB / 0.8216 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.01607, allocations: 4 kB / 0.8216 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01607, allocations: 4 kB / 0.8216 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.01607, allocations: 0 / 0.8216 GB, free: 6.285 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.01622, allocations: 161.1 kB / 0.8218 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.01622, allocations: 3.562 kB / 0.8218 GB, free: 6.102 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.243e-05/0.0163, allocations: 27.97 kB / 0.8218 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.0163, allocations: 0 / 0.8218 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01631, allocations: 7.938 kB / 0.8218 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01631, allocations: 0 / 0.8218 GB, free: 6.066 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01631, allocations: 3.938 kB / 0.8218 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001797/0.01649, allocations: 259.8 kB / 0.822 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.289e-05/0.01653, allocations: 27.84 kB / 0.8221 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.01655, allocations: 8.875 kB / 0.8221 GB, free: 5.754 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.01662, allocations: 7.984 kB / 0.8221 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.01665, allocations: 17.02 kB / 0.8221 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.01666, allocations: 7.984 kB / 0.8221 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.356e-05/0.01675, allocations: 197.1 kB / 0.8223 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.01675, allocations: 1.125 kB / 0.8223 GB, free: 5.531 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001779/0.01692, allocations: 39.89 kB / 0.8223 GB, free: 5.492 MB / 0.7292 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.0001269/0.01705, allocations: 108.2 kB / 0.8224 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.01717, allocations: 62.88 kB / 0.8225 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01717, allocations: 1.094 kB / 0.8225 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.874e-05/0.01722, allocations: 47.59 kB / 0.8226 GB, free: 5.266 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.01747, allocations: 46.61 kB / 0.8226 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/0.01815, allocations: 399.8 kB / 0.823 GB, free: 4.801 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.888e-05/0.0182, allocations: 84.47 kB / 0.8231 GB, free: 4.699 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.533e-05/0.01827, allocations: 25.62 kB / 0.8231 GB, free: 4.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.01838, allocations: 118.1 kB / 0.8232 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.01838, allocations: 0 / 0.8232 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of Templates: time 0.004262/0.02265, allocations: 2.594 MB / 0.8257 GB, free: 2.047 MB / 0.7292 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.695140208117664]