Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001858/0.001858, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.002064/0.002064, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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 1.577/1.577, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.197/3.197, allocations: 377.9 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 176] 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.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadGai.conExt.1..Q_flow|irRadGai.conExtWin.1..Q_flow|irRadGai.conExtWinFra.1..Q_flow|irRadGai.conPar_a.1..Q_flow|irRadGai.conPar_b.1..Q_flow|irRadGai.conBou.1..Q_flow|irRadGai.conSurBou.1..Q_flow|irRadGai.JOutConExtWin.1.",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.664e-06/1.664e-06, allocations: 0 / 0.8109 GB, free: 2.012 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.903e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.01124/0.01127, allocations: 7.315 MB / 0.818 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009141/0.02041, allocations: 5.104 MB / 0.823 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001146/0.02155, allocations: 67.5 kB / 0.8231 GB, free: 5.523 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004911/0.02646, allocations: 1.602 MB / 0.8247 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.02794, allocations: 0.6417 MB / 0.8253 GB, free: 3.277 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006994/0.02864, allocations: 231.9 kB / 0.8255 GB, free: 3.059 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.002378/0.03102, allocations: 1.838 MB / 0.8273 GB, free: 1.215 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004772/0.0315, allocations: 232 kB / 0.8275 GB, free: 0.9688 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001664/0.03316, allocations: 0.9932 MB / 0.8285 GB, free: 15.97 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001048/0.03421, allocations: 0.6895 MB / 0.8292 GB, free: 15.28 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0001869/0.03439, allocations: 84 kB / 0.8292 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005667/0.03496, allocations: 211.7 kB / 0.8294 GB, free: 14.99 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004045/0.03536, allocations: 342.5 kB / 0.8298 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006593/0.03602, allocations: 462.7 kB / 0.8302 GB, free: 14.2 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.002957/0.03898, allocations: 2.375 MB / 0.8325 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.03898, allocations: 0 / 0.8325 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.643e-06/0.03899, allocations: 0 / 0.8325 GB, free: 11.82 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.03901, allocations: 4 kB / 0.8325 GB, free: 11.82 MB / 0.7917 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.004206/0.04321, allocations: 2.55 MB / 0.835 GB, free: 9.211 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.04325, allocations: 8.031 kB / 0.835 GB, free: 9.203 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005833/0.04383, allocations: 235.6 kB / 0.8353 GB, free: 8.973 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.04704, allocations: 1.586 MB / 0.8368 GB, free: 7.32 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.443e-05/0.04709, allocations: 33.31 kB / 0.8368 GB, free: 7.285 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.04716, allocations: 39.92 kB / 0.8369 GB, free: 7.246 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007512/0.04791, allocations: 404.1 kB / 0.8373 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.04793, allocations: 0 / 0.8373 GB, free: 6.844 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.43e-05/0.04797, allocations: 19.98 kB / 0.8373 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-05/0.04802, allocations: 21 kB / 0.8373 GB, free: 6.805 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006688/0.04868, allocations: 339.7 kB / 0.8376 GB, free: 6.473 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006231/0.05492, allocations: 2.145 MB / 0.8397 GB, free: 4.281 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001525/0.05644, allocations: 425.2 kB / 0.8401 GB, free: 3.848 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004395/0.05688, allocations: 157.3 kB / 0.8403 GB, free: 3.691 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.05692, allocations: 8.281 kB / 0.8403 GB, free: 3.684 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.313e-05/0.05697, allocations: 41.59 kB / 0.8403 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=34): time 2.896e-06/0.05697, allocations: 0 / 0.8403 GB, free: 3.633 MB / 0.7917 GB Notification: Performance of matching and sorting (n=34): time 0.00163/0.0586, allocations: 0.5532 MB / 0.8409 GB, free: 3.074 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.05867, allocations: 55.41 kB / 0.8409 GB, free: 3.008 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007484/0.06615, allocations: 2.953 MB / 0.8438 GB, free: 16 kB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.06628, allocations: 33.7 kB / 0.8438 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/0.06827, allocations: 1.047 MB / 0.8449 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002313/0.0685, allocations: 131 kB / 0.845 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.06873, allocations: 79.3 kB / 0.8451 GB, free: 14.71 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0004119/0.06914, allocations: 0.5004 MB / 0.8455 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003304/0.06947, allocations: 87.92 kB / 0.8456 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004648/0.06994, allocations: 170.3 kB / 0.8458 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007852/0.07072, allocations: 253.1 kB / 0.846 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.07073, allocations: 0 / 0.846 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001438/0.07217, allocations: 460.2 kB / 0.8465 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.221e-05/0.0722, allocations: 11.94 kB / 0.8465 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.07221, allocations: 0 / 0.8465 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.07223, allocations: 4.031 kB / 0.8465 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.07291, allocations: 75.89 kB / 0.8466 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.539e-05/0.07293, allocations: 4 kB / 0.8466 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007234/0.07365, allocations: 27.78 kB / 0.8466 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.07369, allocations: 8 kB / 0.8466 GB, free: 13.1 MB / 0.8073 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 (36): * Single equations (assignments): 36 * 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.001531/0.07522, allocations: 0.6406 MB / 0.8472 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004492/0.07567, allocations: 206.7 kB / 0.8474 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004894/0.07616, allocations: 162.6 kB / 0.8476 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.07617, allocations: 4 kB / 0.8476 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.07617, allocations: 4 kB / 0.8476 GB, free: 12.08 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.07618, allocations: 11.92 kB / 0.8476 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005499/0.08168, allocations: 1.82 MB / 0.8494 GB, free: 10.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.049e-05/0.08169, allocations: 4 kB / 0.8494 GB, free: 10.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006389/0.08233, allocations: 75.89 kB / 0.8494 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.08234, allocations: 0 / 0.8494 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.08237, allocations: 8 kB / 0.8495 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.08238, allocations: 4 kB / 0.8495 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.08239, allocations: 3.984 kB / 0.8495 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.08397, allocations: 0.6517 MB / 0.8501 GB, free: 9.406 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/0.08516, allocations: 282.5 kB / 0.8504 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002998/0.08546, allocations: 8 kB / 0.8504 GB, free: 9.121 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/0.08619, allocations: 4 kB / 0.8504 GB, free: 9.117 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.08629, allocations: 23.95 kB / 0.8504 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.08633, allocations: 8 kB / 0.8504 GB, free: 9.086 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.005514/0.09185, allocations: 1.872 MB / 0.8522 GB, free: 7.195 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.9e-07/0.09185, allocations: 4 kB / 0.8522 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001258/0.0931, allocations: 235.6 kB / 0.8525 GB, free: 6.961 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (34): * Single equations (assignments): 34 * 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.000749/0.09385, allocations: 172 kB / 0.8526 GB, free: 6.793 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001033/0.09489, allocations: 267.5 kB / 0.8529 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.09489, allocations: 0 / 0.8529 GB, free: 6.527 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0004763/0.09537, allocations: 161.1 kB / 0.853 GB, free: 6.367 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004456/0.09982, allocations: 0.5951 MB / 0.8536 GB, free: 5.789 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009469/0.1093, allocations: 3.167 MB / 0.8567 GB, free: 2.555 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/0.1115, allocations: 1.065 MB / 0.8578 GB, free: 1.449 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.001312/0.1128, allocations: 230.6 kB / 0.858 GB, free: 1.219 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003582/0.1132, allocations: 80.5 kB / 0.858 GB, free: 1.141 MB / 0.8073 GB Notification: Performance of SimCode: time 1.212e-06/0.1132, allocations: 0 / 0.858 GB, free: 1.141 MB / 0.8073 GB Notification: Performance of Templates: time 0.06691/0.1801, allocations: 21.73 MB / 0.8793 GB, free: 11.88 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.715110571007244]