Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.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.001393/0.001393, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001585/0.001585, allocations: 173 kB / 23.36 MB, free: 1.133 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.9558/0.9558, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.246/2.246, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.[0-9,]+..Q_flow|irRadGai.conExtWin.[0-9,]+..Q_flow|irRadGai.conExtWinFra.[0-9,]+..Q_flow|irRadGai.conPar_a.[0-9,]+..Q_flow|irRadGai.conPar_b.[0-9,]+..Q_flow|irRadGai.conBou.[0-9,]+..Q_flow|irRadGai.conSurBou.[0-9,]+..Q_flow|irRadGai.JOutConExtWin.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.[0-9,]+..Q_flow|irRadGai.conExtWin.[0-9,]+..Q_flow|irRadGai.conExtWinFra.[0-9,]+..Q_flow|irRadGai.conPar_a.[0-9,]+..Q_flow|irRadGai.conPar_b.[0-9,]+..Q_flow|irRadGai.conBou.[0-9,]+..Q_flow|irRadGai.conSurBou.[0-9,]+..Q_flow|irRadGai.JOutConExtWin.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.318e-05/2.447e-05, allocations: 8.703 kB / 0.8387 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006219/0.006243, allocations: 7.131 MB / 0.8457 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006378/0.01262, allocations: 5.222 MB / 0.8507 GB, free: 1.719 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.01371, allocations: 67.5 kB / 0.8508 GB, free: 1.652 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.003458/0.01717, allocations: 1.648 MB / 0.8524 GB, free: 15.99 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00146/0.01863, allocations: 0.655 MB / 0.8531 GB, free: 15.33 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006042/0.01923, allocations: 223.5 kB / 0.8533 GB, free: 15.11 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001709/0.02094, allocations: 1.829 MB / 0.8551 GB, free: 13.28 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004383/0.02138, allocations: 256.6 kB / 0.8553 GB, free: 13 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.02253, allocations: 1.001 MB / 0.8563 GB, free: 12 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008263/0.02336, allocations: 0.6817 MB / 0.8569 GB, free: 11.32 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001861/0.02355, allocations: 76 kB / 0.857 GB, free: 11.24 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.02397, allocations: 203.7 kB / 0.8572 GB, free: 11.04 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002453/0.02422, allocations: 342.5 kB / 0.8575 GB, free: 10.71 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004128/0.02463, allocations: 450.7 kB / 0.858 GB, free: 10.27 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0015/0.02613, allocations: 1.65 MB / 0.8596 GB, free: 8.609 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.02613, allocations: 8 kB / 0.8596 GB, free: 8.602 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.794e-06/0.02613, allocations: 0 / 0.8596 GB, free: 8.602 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.801e-05/0.02618, allocations: 0 / 0.8596 GB, free: 8.602 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002151/0.02833, allocations: 2.089 MB / 0.8616 GB, free: 6.465 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.02837, allocations: 12.92 kB / 0.8616 GB, free: 6.453 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001933/0.02857, allocations: 136.8 kB / 0.8618 GB, free: 6.32 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.02987, allocations: 1.158 MB / 0.8629 GB, free: 5.098 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.02989, allocations: 33.36 kB / 0.8629 GB, free: 5.066 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.02993, allocations: 36.12 kB / 0.863 GB, free: 5.031 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.03021, allocations: 283 kB / 0.8632 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.03022, allocations: 0 / 0.8632 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.03024, allocations: 15.98 kB / 0.8633 GB, free: 4.727 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.502e-05/0.03028, allocations: 20.98 kB / 0.8633 GB, free: 4.707 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.03042, allocations: 118.8 kB / 0.8634 GB, free: 4.59 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001275/0.03169, allocations: 0.9469 MB / 0.8643 GB, free: 3.621 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002625/0.03196, allocations: 201.5 kB / 0.8645 GB, free: 3.414 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.03201, allocations: 52.08 kB / 0.8646 GB, free: 3.363 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.03202, allocations: 7.938 kB / 0.8646 GB, free: 3.355 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.03204, allocations: 34.55 kB / 0.8646 GB, free: 3.312 MB / 0.823 GB Notification: Performance of pre-optimization done (n=24): time 1.774e-06/0.03204, allocations: 0 / 0.8646 GB, free: 3.312 MB / 0.823 GB Notification: Performance of matching and sorting (n=24): time 0.0002515/0.03229, allocations: 213.7 kB / 0.8648 GB, free: 3.098 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.03232, allocations: 51.41 kB / 0.8649 GB, free: 3.035 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.03333, allocations: 1.429 MB / 0.8662 GB, free: 1.574 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.03335, allocations: 33.7 kB / 0.8663 GB, free: 1.535 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.03359, allocations: 430.1 kB / 0.8667 GB, free: 1.102 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.03363, allocations: 83.27 kB / 0.8668 GB, free: 1.02 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.098e-05/0.0337, allocations: 73.61 kB / 0.8668 GB, free: 0.9414 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.679e-05/0.03378, allocations: 325.9 kB / 0.8671 GB, free: 0.6172 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.117e-05/0.03382, allocations: 34.81 kB / 0.8672 GB, free: 0.582 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-05/0.03392, allocations: 140.8 kB / 0.8673 GB, free: 408 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.03405, allocations: 179.2 kB / 0.8675 GB, free: 192 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.03405, allocations: 0 / 0.8675 GB, free: 192 kB / 0.823 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002556/0.03431, allocations: 260 kB / 0.8677 GB, free: 15.93 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.03433, allocations: 8 kB / 0.8677 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.03434, allocations: 0 / 0.8677 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.03435, allocations: 8 kB / 0.8678 GB, free: 15.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.03449, allocations: 67.84 kB / 0.8678 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.03449, allocations: 4 kB / 0.8678 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000207/0.0347, allocations: 43.72 kB / 0.8679 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.03471, allocations: 4.312 kB / 0.8679 GB, free: 15.79 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (37): * Single equations (assignments): 37 * 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 0.0001639/0.03487, allocations: 136.5 kB / 0.868 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.159e-05/0.03496, allocations: 103.9 kB / 0.8681 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001465/0.03511, allocations: 162.2 kB / 0.8682 GB, free: 15.39 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.03511, allocations: 4 kB / 0.8683 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.03512, allocations: 0 / 0.8683 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.03512, allocations: 3.984 kB / 0.8683 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006917/0.03581, allocations: 0.7263 MB / 0.869 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.03581, allocations: 0 / 0.869 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.291e-05/0.03591, allocations: 51.94 kB / 0.869 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.03591, allocations: 0 / 0.869 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.03592, allocations: 8 kB / 0.869 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.03592, allocations: 0 / 0.869 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.03592, allocations: 0 / 0.869 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.03614, allocations: 366.5 kB / 0.8694 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002277/0.03637, allocations: 202.6 kB / 0.8696 GB, free: 13.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.03645, allocations: 11.98 kB / 0.8696 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.03663, allocations: 8 kB / 0.8696 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.03665, allocations: 7.984 kB / 0.8696 GB, free: 13.96 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.03665, allocations: 8 kB / 0.8696 GB, free: 13.95 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0006108/0.03727, allocations: 0.7761 MB / 0.8704 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.11e-07/0.03727, allocations: 0 / 0.8704 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003988/0.03766, allocations: 227.7 kB / 0.8706 GB, free: 12.93 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 24 * 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.0003261/0.03799, allocations: 151.7 kB / 0.8707 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001586/0.03815, allocations: 121 kB / 0.8708 GB, free: 12.66 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/0.03816, allocations: 20 kB / 0.8709 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.0382, allocations: 54.55 kB / 0.8709 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.03931, allocations: 0.5871 MB / 0.8715 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002775/0.04209, allocations: 2.601 MB / 0.874 GB, free: 9.355 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.04243, allocations: 489.6 kB / 0.8745 GB, free: 8.848 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003661/0.04279, allocations: 170.8 kB / 0.8746 GB, free: 8.676 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006387/0.04343, allocations: 415.1 kB / 0.875 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of SimCode: time 9.31e-07/0.04343, allocations: 0 / 0.875 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of Templates: time 0.02743/0.07087, allocations: 23.38 MB / 0.8979 GB, free: 1.488 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.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: 5.426831320859492]