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.001106/0.001106, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001006/0.001006, allocations: 161 kB / 23.82 MB, free: 0.75 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.912/0.912, allocations: 177.2 MB / 204.2 MB, free: 5.594 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.786/1.786, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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.663e-06/1.663e-06, allocations: 0 / 0.8115 GB, free: 1.723 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.379e-05/1.545e-05, allocations: 7.375 kB / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.002088/0.002104, allocations: 1.932 MB / 0.8134 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003216/0.00532, allocations: 3.669 MB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.002e-05/0.00541, allocations: 5.688 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0006846/0.006094, allocations: 169.4 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005013/0.006596, allocations: 79.39 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.006704, allocations: 58.64 kB / 0.8173 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003824/0.007086, allocations: 275 kB / 0.8176 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.455e-05/0.007171, allocations: 19.27 kB / 0.8176 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.007292, allocations: 107.6 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.055e-05/0.007383, allocations: 55.88 kB / 0.8177 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.007401, allocations: 8.5 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.163e-05/0.007472, allocations: 28.45 kB / 0.8178 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.007526, allocations: 59.81 kB / 0.8178 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.047e-05/0.007576, allocations: 49.27 kB / 0.8179 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.007757, allocations: 159.2 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.007759, allocations: 0 / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.42e-07/0.00776, allocations: 2.594 kB / 0.818 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.007764, allocations: 0 / 0.818 GB, free: 11.08 MB / 0.7761 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.0005472/0.008312, allocations: 0.5499 MB / 0.8186 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.008345, allocations: 8.031 kB / 0.8186 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.008552, allocations: 57.25 kB / 0.8186 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.00876, allocations: 204.6 kB / 0.8188 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.008773, allocations: 12.3 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.008787, allocations: 5.281 kB / 0.8188 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.008985, allocations: 103.6 kB / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.008995, allocations: 192 / 0.8189 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.00901, allocations: 4.625 kB / 0.8189 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.654e-05/0.009047, allocations: 15.67 kB / 0.819 GB, free: 10.06 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.164e-05/0.009129, allocations: 31.97 kB / 0.819 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004697/0.009598, allocations: 391.6 kB / 0.8194 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.009746, allocations: 98.95 kB / 0.8195 GB, free: 9.504 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.804e-05/0.009814, allocations: 35.67 kB / 0.8195 GB, free: 9.465 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.009829, allocations: 4.25 kB / 0.8195 GB, free: 9.461 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.009853, allocations: 41.39 kB / 0.8195 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=13): time 1.142e-06/0.009854, allocations: 1.625 kB / 0.8195 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13): time 0.000292/0.01015, allocations: 133.5 kB / 0.8197 GB, free: 9.273 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.01018, allocations: 51.41 kB / 0.8197 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001824/0.01036, allocations: 301.4 kB / 0.82 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.01038, allocations: 29.7 kB / 0.82 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.01047, allocations: 186.8 kB / 0.8202 GB, free: 8.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.01052, allocations: 48.64 kB / 0.8203 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.316e-05/0.01057, allocations: 39.36 kB / 0.8203 GB, free: 8.586 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.01071, allocations: 0.5079 MB / 0.8208 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.813e-05/0.01075, allocations: 21.08 kB / 0.8208 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.715e-05/0.01079, allocations: 12 kB / 0.8208 GB, free: 8.035 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.01089, allocations: 62.95 kB / 0.8209 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01089, allocations: 0 / 0.8209 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001626/0.01106, allocations: 122.2 kB / 0.821 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.01107, allocations: 6.656 kB / 0.821 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01108, allocations: 1.875 kB / 0.821 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.0111, allocations: 4 kB / 0.821 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.01123, allocations: 23.98 kB / 0.821 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01124, allocations: 3.938 kB / 0.821 GB, free: 7.812 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.01129, allocations: 13.28 kB / 0.8211 GB, free: 7.801 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.0113, allocations: 7.938 kB / 0.8211 GB, free: 7.793 MB / 0.7761 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 8.924e-05/0.01139, allocations: 160.6 kB / 0.8212 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.01143, allocations: 36.81 kB / 0.8212 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.307e-05/0.01147, allocations: 25.78 kB / 0.8213 GB, free: 7.566 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01148, allocations: 4.656 kB / 0.8213 GB, free: 7.562 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.01148, allocations: 3.984 kB / 0.8213 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.01149, allocations: 2.594 kB / 0.8213 GB, free: 7.559 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001837/0.01167, allocations: 200.5 kB / 0.8215 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.01167, allocations: 0 / 0.8215 GB, free: 7.328 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.463e-05/0.01176, allocations: 31.91 kB / 0.8215 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.01176, allocations: 0 / 0.8215 GB, free: 7.297 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.01177, allocations: 4 kB / 0.8215 GB, free: 7.293 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.01178, allocations: 3.938 kB / 0.8215 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01178, allocations: 1.625 kB / 0.8215 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.01201, allocations: 267.8 kB / 0.8218 GB, free: 7.008 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.921e-05/0.01206, allocations: 39.73 kB / 0.8218 GB, free: 6.969 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.01208, allocations: 4.594 kB / 0.8218 GB, free: 6.965 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.01215, allocations: 12.66 kB / 0.8218 GB, free: 6.953 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.01221, allocations: 11.98 kB / 0.8218 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.01222, allocations: 8.953 kB / 0.8218 GB, free: 6.934 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001057/0.01233, allocations: 201.1 kB / 0.822 GB, free: 6.738 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01233, allocations: 4 kB / 0.822 GB, free: 6.734 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001822/0.01251, allocations: 43.94 kB / 0.8221 GB, free: 6.691 MB / 0.7761 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.000108/0.01262, allocations: 103.2 kB / 0.8222 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.01278, allocations: 74.14 kB / 0.8222 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.01278, allocations: 0 / 0.8222 GB, free: 6.508 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.044e-05/0.01284, allocations: 47.59 kB / 0.8223 GB, free: 6.457 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.0131, allocations: 64.25 kB / 0.8224 GB, free: 6.395 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007345/0.01384, allocations: 399.5 kB / 0.8227 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.897e-05/0.01388, allocations: 79.81 kB / 0.8228 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.449e-05/0.01398, allocations: 45.44 kB / 0.8229 GB, free: 5.832 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.614e-05/0.01403, allocations: 20.5 kB / 0.8229 GB, free: 5.812 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01403, allocations: 3.938 kB / 0.8229 GB, free: 5.809 MB / 0.7761 GB Notification: Performance of Templates: time 0.004439/0.01846, allocations: 2.546 MB / 0.8254 GB, free: 3.336 MB / 0.7761 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.742620775941759]