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.0009293/0.0009293, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009432/0.0009432, allocations: 163.2 kB / 24.87 MB, free: 8.684 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.8926/0.8926, allocations: 177.1 MB / 205.3 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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 1.793/1.793, allocations: 377.9 MB / 0.6247 GB, free: 8.422 MB / 0.5886 GB " [Timeout remaining time 178] 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.[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_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.[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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.052e-06/1.052e-06, allocations: 0 / 0.8129 GB, free: 1.359 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039e-05/1.144e-05, allocations: 2.875 kB / 0.8129 GB, free: 1.355 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005362/0.005374, allocations: 7.129 MB / 0.8198 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00414/0.009514, allocations: 5.061 MB / 0.8248 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004107/0.009924, allocations: 71.5 kB / 0.8248 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002287/0.01221, allocations: 1.61 MB / 0.8264 GB, free: 3.477 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006796/0.01289, allocations: 0.6449 MB / 0.827 GB, free: 2.832 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003653/0.01326, allocations: 229.9 kB / 0.8273 GB, free: 2.609 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001134/0.01439, allocations: 1.825 MB / 0.829 GB, free: 0.7773 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.01467, allocations: 232 kB / 0.8293 GB, free: 0.5312 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007519/0.01542, allocations: 1.005 MB / 0.8302 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005389/0.01596, allocations: 0.6856 MB / 0.8309 GB, free: 14.83 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.442e-05/0.01606, allocations: 76 kB / 0.831 GB, free: 14.76 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.01634, allocations: 207.7 kB / 0.8312 GB, free: 14.55 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0002108/0.01655, allocations: 342.5 kB / 0.8315 GB, free: 14.22 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0003274/0.01688, allocations: 450.7 kB / 0.8319 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.01797, allocations: 1.658 MB / 0.8336 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.01797, allocations: 0 / 0.8336 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01797, allocations: 4 kB / 0.8336 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.01799, allocations: 0 / 0.8336 GB, free: 12.11 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.001867/0.01985, allocations: 2.483 MB / 0.836 GB, free: 9.57 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.735e-05/0.01988, allocations: 8.031 kB / 0.836 GB, free: 9.562 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.02005, allocations: 239.6 kB / 0.8362 GB, free: 9.328 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.02124, allocations: 1.347 MB / 0.8375 GB, free: 7.914 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.02126, allocations: 29.36 kB / 0.8376 GB, free: 7.883 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.742e-05/0.0213, allocations: 44.12 kB / 0.8376 GB, free: 7.84 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.02153, allocations: 228.2 kB / 0.8378 GB, free: 7.605 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.02154, allocations: 0 / 0.8378 GB, free: 7.605 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.02156, allocations: 19.98 kB / 0.8379 GB, free: 7.586 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.0216, allocations: 20.98 kB / 0.8379 GB, free: 7.566 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.02175, allocations: 134.8 kB / 0.838 GB, free: 7.434 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.02321, allocations: 1.387 MB / 0.8394 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002338/0.02345, allocations: 163.2 kB / 0.8395 GB, free: 5.848 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.618e-05/0.0235, allocations: 58.09 kB / 0.8396 GB, free: 5.789 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.02352, allocations: 7.938 kB / 0.8396 GB, free: 5.781 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.02353, allocations: 41.39 kB / 0.8396 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=24): time 1.262e-06/0.02354, allocations: 0 / 0.8396 GB, free: 5.73 MB / 0.7917 GB Notification: Performance of matching and sorting (n=24): time 0.0002973/0.02383, allocations: 324.6 kB / 0.8399 GB, free: 5.406 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.02386, allocations: 55.41 kB / 0.84 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.02549, allocations: 2.165 MB / 0.8421 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.02551, allocations: 33.7 kB / 0.8421 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006807/0.02619, allocations: 1.062 MB / 0.8432 GB, free: 2.023 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.02624, allocations: 91.22 kB / 0.8432 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.495e-05/0.02631, allocations: 83.27 kB / 0.8433 GB, free: 1.844 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.02643, allocations: 0.4964 MB / 0.8438 GB, free: 1.34 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.705e-05/0.02646, allocations: 27.72 kB / 0.8438 GB, free: 1.312 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.02658, allocations: 201.5 kB / 0.844 GB, free: 1.055 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.02672, allocations: 203.8 kB / 0.8442 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.02672, allocations: 0 / 0.8442 GB, free: 0.8086 MB / 0.7917 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002949/0.02702, allocations: 372 kB / 0.8446 GB, free: 448 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.02703, allocations: 8 kB / 0.8446 GB, free: 440 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.02703, allocations: 0 / 0.8446 GB, free: 440 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.02704, allocations: 4.344 kB / 0.8446 GB, free: 436 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.02718, allocations: 71.91 kB / 0.8447 GB, free: 364 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.02719, allocations: 11.98 kB / 0.8447 GB, free: 352 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.02739, allocations: 35.72 kB / 0.8447 GB, free: 316 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.323e-05/0.0274, allocations: 12 kB / 0.8447 GB, free: 304 kB / 0.7917 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.0001764/0.02758, allocations: 176.5 kB / 0.8449 GB, free: 116 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/0.02771, allocations: 198.9 kB / 0.8451 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001466/0.02786, allocations: 158.2 kB / 0.8452 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.02786, allocations: 3.938 kB / 0.8452 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.02786, allocations: 4 kB / 0.8452 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.02787, allocations: 11.98 kB / 0.8452 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/0.02877, allocations: 1.051 MB / 0.8463 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.02877, allocations: 0 / 0.8463 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.02886, allocations: 51.91 kB / 0.8463 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.02886, allocations: 0 / 0.8463 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.02887, allocations: 4 kB / 0.8463 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.02887, allocations: 0 / 0.8463 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.02887, allocations: 3.938 kB / 0.8463 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002691/0.02914, allocations: 496.2 kB / 0.8468 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002486/0.02939, allocations: 242.6 kB / 0.847 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.489e-05/0.02947, allocations: 8 kB / 0.847 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.02965, allocations: 4 kB / 0.847 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.153e-05/0.02967, allocations: 19.91 kB / 0.8471 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.02968, allocations: 4 kB / 0.8471 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000848/0.03053, allocations: 1.104 MB / 0.8481 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.4e-07/0.03053, allocations: 0 / 0.8481 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003849/0.03091, allocations: 231.7 kB / 0.8484 GB, free: 12.46 MB / 0.8073 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.0002365/0.03115, allocations: 165.8 kB / 0.8485 GB, free: 12.3 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001617/0.03131, allocations: 137.2 kB / 0.8487 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.03131, allocations: 0 / 0.8487 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 5.262e-05/0.03137, allocations: 67.52 kB / 0.8487 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001144/0.03251, allocations: 0.5813 MB / 0.8493 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.03513, allocations: 2.651 MB / 0.8519 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.03551, allocations: 0.5523 MB / 0.8524 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003207/0.03583, allocations: 162.8 kB / 0.8526 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006443/0.03647, allocations: 485.8 kB / 0.853 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of SimCode: time 6.11e-07/0.03647, allocations: 0 / 0.853 GB, free: 7.594 MB / 0.8073 GB Notification: Performance of Templates: time 0.02505/0.06153, allocations: 23.55 MB / 0.876 GB, free: 0.5469 MB / 0.823 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","",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.937814054079354]