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.0009287/0.0009287, allocations: 84.8 kB / 20.75 MB, free: 3.738 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.0009912/0.0009912, allocations: 161.4 kB / 24.17 MB, free: 332 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.9913/0.9913, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.891/1.891, allocations: 377.9 MB / 0.624 GB, free: 8.328 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.173e-06/1.173e-06, allocations: 0 / 0.76 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.611e-05/1.728e-05, allocations: 5.266 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.00231/0.002327, allocations: 1.968 MB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.00323/0.005557, allocations: 3.691 MB / 0.7656 GB, free: 0.9375 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.005627, allocations: 4 kB / 0.7656 GB, free: 0.9336 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.006146, allocations: 170.5 kB / 0.7657 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.006283, allocations: 79.45 kB / 0.7658 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.889e-05/0.006382, allocations: 50.58 kB / 0.7659 GB, free: 0.6445 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003442/0.006727, allocations: 274.9 kB / 0.7661 GB, free: 384 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 6.68e-05/0.006793, allocations: 23.09 kB / 0.7662 GB, free: 360 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.0069, allocations: 97.16 kB / 0.7662 GB, free: 264 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.006989, allocations: 67.8 kB / 0.7663 GB, free: 196 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.51e-05/0.007004, allocations: 8 kB / 0.7663 GB, free: 188 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.185e-05/0.007076, allocations: 24.58 kB / 0.7663 GB, free: 164 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.641e-05/0.007123, allocations: 62.28 kB / 0.7664 GB, free: 104 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.43e-05/0.007167, allocations: 55.84 kB / 0.7665 GB, free: 48 kB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.007333, allocations: 155.4 kB / 0.7666 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.007334, allocations: 0 / 0.7666 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.007335, allocations: 0 / 0.7666 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.007338, allocations: 0 / 0.7666 GB, free: 15.89 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.0003815/0.00772, allocations: 426.2 kB / 0.767 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.338e-05/0.007743, allocations: 8.031 kB / 0.767 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000174/0.007917, allocations: 48.89 kB / 0.7671 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001496/0.008067, allocations: 192.7 kB / 0.7672 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.722e-06/0.008074, allocations: 5.531 kB / 0.7672 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.008084, allocations: 4.375 kB / 0.7673 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.008218, allocations: 101.2 kB / 0.7674 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-06/0.008223, allocations: 192 / 0.7674 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.008235, allocations: 8.109 kB / 0.7674 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.008258, allocations: 13.5 kB / 0.7674 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.008308, allocations: 23.92 kB / 0.7674 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.008589, allocations: 238.5 kB / 0.7676 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.468e-05/0.008674, allocations: 71.19 kB / 0.7677 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.453e-05/0.008719, allocations: 33.28 kB / 0.7677 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.008731, allocations: 4 kB / 0.7677 GB, free: 14.67 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.008749, allocations: 39.48 kB / 0.7678 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.00875, allocations: 0 / 0.7678 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0001512/0.008902, allocations: 98.38 kB / 0.7679 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.008924, allocations: 51.91 kB / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.009039, allocations: 233.5 kB / 0.7681 GB, free: 14.22 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.009052, allocations: 25.7 kB / 0.7682 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.009092, allocations: 114 kB / 0.7683 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.995e-05/0.009122, allocations: 43.62 kB / 0.7683 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.009162, allocations: 29.7 kB / 0.7683 GB, free: 14 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.778e-05/0.00924, allocations: 342.7 kB / 0.7687 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.395e-05/0.009264, allocations: 12.58 kB / 0.7687 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.555e-05/0.009289, allocations: 16.88 kB / 0.7687 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.598e-05/0.009355, allocations: 44.77 kB / 0.7687 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.009356, allocations: 0 / 0.7687 GB, free: 13.58 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.045e-05/0.009447, allocations: 81.59 kB / 0.7688 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.009456, allocations: 9.203 kB / 0.7688 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.009459, allocations: 0 / 0.7688 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.173e-06/0.009466, allocations: 0 / 0.7688 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001038/0.00957, allocations: 40.84 kB / 0.7689 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.156e-06/0.009573, allocations: 4 kB / 0.7689 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.853e-05/0.009622, allocations: 12.8 kB / 0.7689 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.009631, allocations: 7.984 kB / 0.7689 GB, free: 13.43 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 5.837e-05/0.00969, allocations: 116.6 kB / 0.769 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.009719, allocations: 23.92 kB / 0.769 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.00975, allocations: 29.77 kB / 0.769 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.009752, allocations: 0 / 0.769 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.009754, allocations: 0 / 0.769 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.009756, allocations: 0 / 0.769 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.00988, allocations: 121.8 kB / 0.7692 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.009881, allocations: 0 / 0.7692 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.009958, allocations: 31.91 kB / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.00996, allocations: 2.906 kB / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.009968, allocations: 4 kB / 0.7692 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.00997, allocations: 3.938 kB / 0.7692 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.009971, allocations: 0 / 0.7692 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001225/0.01009, allocations: 186.7 kB / 0.7694 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.791e-05/0.01013, allocations: 31.8 kB / 0.7694 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.01015, allocations: 4 kB / 0.7694 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.338e-05/0.01021, allocations: 11.47 kB / 0.7694 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.01024, allocations: 15.97 kB / 0.7694 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.01025, allocations: 7.875 kB / 0.7694 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.644e-05/0.01031, allocations: 78.77 kB / 0.7695 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01031, allocations: 0 / 0.7695 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001506/0.01046, allocations: 43.94 kB / 0.7696 GB, free: 12.69 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 7.726e-05/0.01053, allocations: 80.41 kB / 0.7696 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.665e-05/0.01063, allocations: 60.27 kB / 0.7697 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.01063, allocations: 4 kB / 0.7697 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.01067, allocations: 28.84 kB / 0.7697 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.01087, allocations: 57.86 kB / 0.7698 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/0.01147, allocations: 419.2 kB / 0.7702 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.671e-05/0.01152, allocations: 79.81 kB / 0.7703 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.451e-05/0.01159, allocations: 25.19 kB / 0.7703 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.0117, allocations: 87.33 kB / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of SimCode: time 5.31e-07/0.0117, allocations: 0 / 0.7704 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of Templates: time 0.003759/0.01546, allocations: 2.473 MB / 0.7728 GB, free: 9.5 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 -s gbode -gbm=radauIIA3 -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.828649139031768]