Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009092/0.0009092, allocations: 80.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.0009373/0.0009373, allocations: 165 kB / 24.17 MB, free: 328 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.9132/0.9132, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.809/1.809, allocations: 377.9 MB / 0.624 GB, free: 8.34 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.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_12_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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.76 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.605e-05/1.732e-05, allocations: 2.312 kB / 0.76 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001883/0.001901, allocations: 1.59 MB / 0.7616 GB, free: 5.023 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001148/0.002016, allocations: 36.77 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.879e-05/0.002054, allocations: 0.875 kB / 0.7616 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.002162, allocations: 8.422 kB / 0.7616 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.089e-05/0.002193, allocations: 7.062 kB / 0.7616 GB, free: 4.977 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 9.346e-05/0.002286, allocations: 24.53 kB / 0.7616 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.996e-05/0.002366, allocations: 45.05 kB / 0.7617 GB, free: 4.918 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.401e-05/0.00245, allocations: 24.94 kB / 0.7617 GB, free: 4.895 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.002493, allocations: 30.16 kB / 0.7617 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.811e-05/0.002551, allocations: 26.69 kB / 0.7618 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.00257, allocations: 5.438 kB / 0.7618 GB, free: 4.84 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.233e-06/0.002577, allocations: 4 kB / 0.7618 GB, free: 4.836 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.416e-05/0.002611, allocations: 19.58 kB / 0.7618 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.002636, allocations: 16.27 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.565e-05/0.002712, allocations: 44.42 kB / 0.7618 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.002713, allocations: 4 kB / 0.7618 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002714, allocations: 2.062 kB / 0.7618 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.745e-06/0.002717, allocations: 0 / 0.7618 GB, free: 4.758 MB / 0.7136 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.000236/0.002953, allocations: 272.7 kB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.796e-05/0.002981, allocations: 8.031 kB / 0.7621 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.396e-05/0.003005, allocations: 12.92 kB / 0.7621 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.83e-05/0.003103, allocations: 127.2 kB / 0.7623 GB, free: 4.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.166e-06/0.003111, allocations: 4.375 kB / 0.7623 GB, free: 4.293 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.818e-06/0.003121, allocations: 8.375 kB / 0.7623 GB, free: 4.285 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.208e-05/0.003203, allocations: 76.73 kB / 0.7623 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.003209, allocations: 4.984 kB / 0.7623 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.035e-06/0.003217, allocations: 4.375 kB / 0.7623 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.003222, allocations: 5.875 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.44e-05/0.003247, allocations: 19.86 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.003527, allocations: 0.5058 MB / 0.7629 GB, free: 3.633 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.01e-05/0.003578, allocations: 170.4 kB / 0.763 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.003597, allocations: 80.14 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.003613, allocations: 75.28 kB / 0.7632 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.003641, allocations: 110.8 kB / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 6.91e-07/0.003641, allocations: 0 / 0.7633 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 4.153e-05/0.003683, allocations: 33.62 kB / 0.7633 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/0.003721, allocations: 127.7 kB / 0.7634 GB, free: 3.008 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.124e-05/0.003793, allocations: 134.5 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.712e-06/0.003799, allocations: 25.7 kB / 0.7636 GB, free: 2.832 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.003841, allocations: 112.7 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.003843, allocations: 1.781 kB / 0.7637 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.143e-05/0.003864, allocations: 9.719 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.374e-05/0.003928, allocations: 326.8 kB / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.22e-06/0.003933, allocations: 0 / 0.764 GB, free: 2.375 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.721e-05/0.003951, allocations: 26.58 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.00398, allocations: 32.47 kB / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.003982, allocations: 0 / 0.7641 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.165e-05/0.004044, allocations: 42.52 kB / 0.7641 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.004057, allocations: 11.98 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.004062, allocations: 0.75 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.00407, allocations: 0 / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.689e-05/0.004107, allocations: 4.75 kB / 0.7641 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.708e-06/0.004112, allocations: 7.938 kB / 0.7641 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.488e-05/0.004126, allocations: 0.5312 kB / 0.7641 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.745e-06/0.004129, allocations: 2.156 kB / 0.7641 GB, free: 2.23 MB / 0.7136 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 6.403e-05/0.004193, allocations: 199.9 kB / 0.7643 GB, free: 2.023 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.004225, allocations: 105 kB / 0.7644 GB, free: 1.914 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.222e-05/0.004257, allocations: 112.4 kB / 0.7645 GB, free: 1.797 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.401e-05/0.004291, allocations: 176.3 kB / 0.7647 GB, free: 1.617 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-05/0.004325, allocations: 183.7 kB / 0.7649 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-05/0.004361, allocations: 180.2 kB / 0.7651 GB, free: 1.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001194/0.004481, allocations: 333.4 kB / 0.7654 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/0.004503, allocations: 112.9 kB / 0.7655 GB, free: 0.7812 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.001e-05/0.004523, allocations: 105 kB / 0.7656 GB, free: 0.6719 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.362e-05/0.004557, allocations: 176.3 kB / 0.7657 GB, free: 0.4922 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.605e-05/0.004593, allocations: 184.2 kB / 0.7659 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-05/0.004628, allocations: 176.3 kB / 0.7661 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.82e-05/0.004676, allocations: 180.2 kB / 0.7663 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.262e-05/0.004759, allocations: 311.8 kB / 0.7666 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.019e-05/0.004789, allocations: 111.4 kB / 0.7667 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.00483, allocations: 184.2 kB / 0.7668 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.483e-05/0.004875, allocations: 104.9 kB / 0.7669 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.004989, allocations: 180.6 kB / 0.7671 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/0.00501, allocations: 101 kB / 0.7672 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.984e-05/0.00503, allocations: 24.77 kB / 0.7672 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00503, allocations: 0.75 kB / 0.7672 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001194/0.005149, allocations: 11.94 kB / 0.7672 GB, free: 14.88 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 (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 7.525e-05/0.005224, allocations: 157 kB / 0.7674 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 4.258e-05/0.005267, allocations: 13.64 kB / 0.7674 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.00527, allocations: 0 / 0.7674 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.005271, allocations: 6.344 kB / 0.7674 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.005445, allocations: 467.5 kB / 0.7679 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002188/0.005664, allocations: 227.6 kB / 0.7681 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.759e-05/0.005692, allocations: 59.34 kB / 0.7681 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.112e-05/0.005703, allocations: 3.984 kB / 0.7681 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.005727, allocations: 54.12 kB / 0.7682 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of SimCode: time 4.51e-07/0.005728, allocations: 0 / 0.7682 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of Templates: time 0.001503/0.007231, allocations: 295.9 kB / 0.7685 GB, free: 13.57 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.585753499995917]