Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.0009977/0.0009977, allocations: 83.59 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.001/0.001, allocations: 169.3 kB / 23.82 MB, free: 0.7461 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.9119/0.9119, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.63/1.63, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.845e-06/2.845e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.893e-05/4.178e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002117/0.002159, allocations: 1.587 MB / 0.7886 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0003852/0.002544, allocations: 32.91 kB / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.365e-05/0.002588, allocations: 0 / 0.7887 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.002706, allocations: 7.922 kB / 0.7887 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.377e-05/0.00275, allocations: 12.5 kB / 0.7887 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001135/0.002863, allocations: 17.06 kB / 0.7887 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.132e-05/0.002945, allocations: 47.84 kB / 0.7888 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.003057, allocations: 27.95 kB / 0.7888 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.434e-05/0.003102, allocations: 26.22 kB / 0.7888 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.796e-05/0.00316, allocations: 23.92 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.003182, allocations: 4 kB / 0.7888 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.806e-06/0.003191, allocations: 4 kB / 0.7888 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.003231, allocations: 23.91 kB / 0.7889 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.003259, allocations: 15.98 kB / 0.7889 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.003361, allocations: 53.67 kB / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.003363, allocations: 0 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003364, allocations: 0 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.003368, allocations: 0 / 0.7889 GB, free: 10.61 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003148/0.003683, allocations: 388.4 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.003723, allocations: 9.594 kB / 0.7893 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.00376, allocations: 16.89 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.003873, allocations: 124.6 kB / 0.7894 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.003884, allocations: 12.3 kB / 0.7895 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.003895, allocations: 9.75 kB / 0.7895 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.004005, allocations: 89.23 kB / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.004012, allocations: 192 / 0.7896 GB, free: 9.898 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.004022, allocations: 4.375 kB / 0.7896 GB, free: 9.895 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.004029, allocations: 6.125 kB / 0.7896 GB, free: 9.891 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.038e-05/0.00407, allocations: 27.86 kB / 0.7896 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.004484, allocations: 0.7889 MB / 0.7904 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.082e-05/0.004564, allocations: 270.5 kB / 0.7906 GB, free: 8.75 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.004594, allocations: 126.9 kB / 0.7907 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.004618, allocations: 119.2 kB / 0.7909 GB, free: 8.504 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/0.004665, allocations: 166.5 kB / 0.791 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.004666, allocations: 7.875 kB / 0.791 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.975e-05/0.004716, allocations: 25.7 kB / 0.791 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.004764, allocations: 170.6 kB / 0.7912 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.541e-05/0.004859, allocations: 181.9 kB / 0.7914 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.004867, allocations: 28.3 kB / 0.7914 GB, free: 7.887 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.004924, allocations: 158.7 kB / 0.7916 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.174e-06/0.004926, allocations: 0 / 0.7916 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.004952, allocations: 27.36 kB / 0.7916 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.005055, allocations: 496.1 kB / 0.7921 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.032e-05/0.005065, allocations: 4 kB / 0.7921 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.258e-05/0.005088, allocations: 31.06 kB / 0.7921 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.838e-05/0.005126, allocations: 40.23 kB / 0.7921 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.005128, allocations: 1.656 kB / 0.7921 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.932e-05/0.005217, allocations: 49.59 kB / 0.7922 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.005231, allocations: 4 kB / 0.7922 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.005236, allocations: 4.656 kB / 0.7922 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.005249, allocations: 0.9688 kB / 0.7922 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.005304, allocations: 7.984 kB / 0.7922 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.00531, allocations: 3.938 kB / 0.7922 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.744e-05/0.005328, allocations: 9.094 kB / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.005331, allocations: 0 / 0.7922 GB, free: 7.016 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (3): * Single equations (assignments): 3 * 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.891e-05/0.00541, allocations: 275.8 kB / 0.7925 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.401e-05/0.005454, allocations: 153.7 kB / 0.7926 GB, free: 6.578 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.427e-05/0.005498, allocations: 160.3 kB / 0.7928 GB, free: 6.418 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.331e-05/0.005552, allocations: 264.9 kB / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.743e-05/0.005609, allocations: 264.1 kB / 0.7933 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-05/0.005663, allocations: 273.3 kB / 0.7935 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.005827, allocations: 0.5076 MB / 0.794 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.083e-05/0.005857, allocations: 148.8 kB / 0.7942 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.795e-05/0.005885, allocations: 149.7 kB / 0.7943 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.444e-05/0.00594, allocations: 268.1 kB / 0.7946 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/0.005995, allocations: 268 kB / 0.7948 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.449e-05/0.00605, allocations: 269.1 kB / 0.7951 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-05/0.006103, allocations: 276 kB / 0.7953 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003649/0.006468, allocations: 445.3 kB / 0.7958 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.006507, allocations: 160.8 kB / 0.7959 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.006566, allocations: 264.1 kB / 0.7962 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.435e-05/0.00662, allocations: 148.8 kB / 0.7963 GB, free: 2.629 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.006676, allocations: 273.8 kB / 0.7966 GB, free: 2.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.006705, allocations: 148.9 kB / 0.7967 GB, free: 2.203 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.361e-05/0.006748, allocations: 139.1 kB / 0.7969 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006748, allocations: 0 / 0.7969 GB, free: 2.066 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001386/0.006887, allocations: 14.91 kB / 0.7969 GB, free: 2.055 MB / 0.7448 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 (0): * Single equations (assignments): 0 * 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 9.95e-05/0.006987, allocations: 221.6 kB / 0.7971 GB, free: 1.832 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.304e-05/0.00706, allocations: 19.8 kB / 0.7971 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007061, allocations: 4 kB / 0.7971 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.007062, allocations: 0 / 0.7971 GB, free: 1.805 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.007337, allocations: 0.7105 MB / 0.7978 GB, free: 1.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002943/0.007631, allocations: 274.5 kB / 0.7981 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.43e-05/0.007665, allocations: 59.34 kB / 0.7981 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.076e-05/0.007676, allocations: 0 / 0.7981 GB, free: 0.7148 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.112e-05/0.007697, allocations: 13.59 kB / 0.7981 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.007698, allocations: 0 / 0.7981 GB, free: 0.7031 MB / 0.7448 GB Notification: Performance of Templates: time 0.002053/0.009751, allocations: 290.4 kB / 0.7984 GB, free: 440 kB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.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.447062915656716]