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.0009172/0.0009172, allocations: 71.75 kB / 20.97 MB, free: 3.574 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.0009056/0.0009056, allocations: 169 kB / 24.28 MB, free: 276 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.8762/0.8762, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.784/1.784, allocations: 377.8 MB / 0.6239 GB, free: 8.57 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.302e-06/1.302e-06, allocations: 0 / 0.8116 GB, free: 1.988 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.612e-05, allocations: 4.703 kB / 0.8116 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005779/0.005795, allocations: 7.337 MB / 0.8188 GB, free: 10.62 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005067/0.01086, allocations: 5.109 MB / 0.8238 GB, free: 5.535 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005638/0.01143, allocations: 71.44 kB / 0.8238 GB, free: 5.465 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002617/0.01404, allocations: 1.606 MB / 0.8254 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0007803/0.01482, allocations: 0.6367 MB / 0.826 GB, free: 3.219 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004333/0.01526, allocations: 231.9 kB / 0.8263 GB, free: 2.992 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001378/0.01663, allocations: 1.834 MB / 0.828 GB, free: 1.156 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002946/0.01693, allocations: 232 kB / 0.8283 GB, free: 0.9102 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007494/0.01768, allocations: 0.9933 MB / 0.8292 GB, free: 15.91 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005337/0.01821, allocations: 0.6934 MB / 0.8299 GB, free: 15.22 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 9.514e-05/0.01831, allocations: 80 kB / 0.83 GB, free: 15.14 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003159/0.01862, allocations: 207.7 kB / 0.8302 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0002171/0.01884, allocations: 354.4 kB / 0.8305 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.01917, allocations: 454.7 kB / 0.831 GB, free: 14.14 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.02034, allocations: 1.669 MB / 0.8326 GB, free: 12.47 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.02034, allocations: 3.938 kB / 0.8326 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.31e-07/0.02034, allocations: 0 / 0.8326 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.431e-05/0.02036, allocations: 0 / 0.8326 GB, free: 12.46 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.002057/0.02241, allocations: 2.511 MB / 0.835 GB, free: 9.898 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.056e-05/0.02244, allocations: 8.031 kB / 0.8351 GB, free: 9.891 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002155/0.02266, allocations: 235.6 kB / 0.8353 GB, free: 9.66 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.02449, allocations: 1.406 MB / 0.8367 GB, free: 8.188 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.02452, allocations: 21.38 kB / 0.8367 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.467e-05/0.02457, allocations: 47.92 kB / 0.8367 GB, free: 8.117 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004047/0.02498, allocations: 260.2 kB / 0.837 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.02499, allocations: 0 / 0.837 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.261e-05/0.02502, allocations: 12 kB / 0.837 GB, free: 7.844 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.325e-05/0.02506, allocations: 24.98 kB / 0.837 GB, free: 7.82 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003188/0.02538, allocations: 161.8 kB / 0.8372 GB, free: 7.66 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002375/0.02776, allocations: 1.819 MB / 0.8389 GB, free: 5.797 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005785/0.02834, allocations: 262.4 kB / 0.8392 GB, free: 5.523 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001356/0.02847, allocations: 84.72 kB / 0.8393 GB, free: 5.438 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.02849, allocations: 4.281 kB / 0.8393 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.02851, allocations: 41.61 kB / 0.8393 GB, free: 5.383 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=34): time 1.583e-06/0.02851, allocations: 0 / 0.8393 GB, free: 5.383 MB / 0.7917 GB Notification: Performance of matching and sorting (n=34): time 0.0005742/0.02909, allocations: 406.1 kB / 0.8397 GB, free: 4.98 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.02912, allocations: 55.41 kB / 0.8397 GB, free: 4.914 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.03176, allocations: 2.164 MB / 0.8419 GB, free: 2.711 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.03179, allocations: 33.7 kB / 0.8419 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008659/0.03266, allocations: 1.004 MB / 0.8429 GB, free: 1.66 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.199e-05/0.03274, allocations: 127 kB / 0.843 GB, free: 1.535 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.853e-05/0.03284, allocations: 83.23 kB / 0.8431 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.03295, allocations: 0.4964 MB / 0.8436 GB, free: 0.9414 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.391e-05/0.03305, allocations: 35.97 kB / 0.8436 GB, free: 0.9062 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.03319, allocations: 103.1 kB / 0.8437 GB, free: 0.793 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.03341, allocations: 128.6 kB / 0.8438 GB, free: 0.6641 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.03341, allocations: 4 kB / 0.8438 GB, free: 0.6602 MB / 0.7917 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004544/0.03386, allocations: 352.3 kB / 0.8442 GB, free: 316 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.03388, allocations: 7.938 kB / 0.8442 GB, free: 308 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.03388, allocations: 0 / 0.8442 GB, free: 308 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.0339, allocations: 0 / 0.8442 GB, free: 308 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.03414, allocations: 83.89 kB / 0.8442 GB, free: 224 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.03414, allocations: 4.031 kB / 0.8442 GB, free: 220 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.03439, allocations: 19.84 kB / 0.8443 GB, free: 200 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.813e-05/0.0344, allocations: 12 kB / 0.8443 GB, free: 188 kB / 0.7917 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.0002173/0.03462, allocations: 168.5 kB / 0.8444 GB, free: 8 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.03481, allocations: 202.7 kB / 0.8446 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.03501, allocations: 166.6 kB / 0.8448 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.03501, allocations: 4 kB / 0.8448 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.03502, allocations: 3.984 kB / 0.8448 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.03502, allocations: 3.938 kB / 0.8448 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.03684, allocations: 1.585 MB / 0.8463 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.03684, allocations: 3.984 kB / 0.8464 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.03705, allocations: 71.91 kB / 0.8464 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.03705, allocations: 0 / 0.8464 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.03706, allocations: 8 kB / 0.8464 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.03707, allocations: 3.984 kB / 0.8464 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.03707, allocations: 4 kB / 0.8464 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.03755, allocations: 0.5434 MB / 0.847 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003739/0.03792, allocations: 278.5 kB / 0.8472 GB, free: 13.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.03805, allocations: 12.09 kB / 0.8472 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002802/0.03833, allocations: 8 kB / 0.8473 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.406e-05/0.03837, allocations: 23.95 kB / 0.8473 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.03839, allocations: 11.98 kB / 0.8473 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001615/0.04001, allocations: 1.166 MB / 0.8484 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.04001, allocations: 4 kB / 0.8484 GB, free: 11.8 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0005255/0.04053, allocations: 227.7 kB / 0.8486 GB, free: 11.58 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.0003324/0.04086, allocations: 177.2 kB / 0.8488 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000305/0.04117, allocations: 159.5 kB / 0.849 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.04117, allocations: 0 / 0.849 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.0413, allocations: 100 kB / 0.8491 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.04289, allocations: 0.5843 MB / 0.8496 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003383/0.04627, allocations: 2.72 MB / 0.8523 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004637/0.04673, allocations: 0.5572 MB / 0.8528 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0004834/0.04722, allocations: 234.6 kB / 0.8531 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001531/0.04737, allocations: 80.5 kB / 0.8531 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of SimCode: time 6.91e-07/0.04737, allocations: 0 / 0.8531 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of Templates: time 0.02912/0.0765, allocations: 21.77 MB / 0.8744 GB, free: 1.602 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.924625042127445]