Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005008/0.005008, allocations: 114.3 kB / 15.71 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 190.7 kB / 16.64 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.168/1.168, allocations: 222.9 MB / 240.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.914/1.914, allocations: 390.3 MB / 0.6648 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 79.88 kB / 0.951 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.6398, allocations: 140.4 MB / 1.088 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006178/0.646, allocations: 7.336 MB / 1.095 GB, free: 180 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006751/0.6528, allocations: 5.19 MB / 1.1 GB, free: 12.4 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006437/0.6535, allocations: 46.12 kB / 1.1 GB, free: 12.38 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003491/0.657, allocations: 1.685 MB / 1.102 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001108/0.6581, allocations: 0.5991 MB / 1.103 GB, free: 11.19 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.6587, allocations: 220.4 kB / 1.103 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001698/0.6604, allocations: 1.759 MB / 1.105 GB, free: 10.27 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007827/0.6612, allocations: 0.5915 MB / 1.105 GB, free: 10.02 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.6619, allocations: 0.6743 MB / 1.106 GB, free: 9.711 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008563/0.6628, allocations: 0.8035 MB / 1.107 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.6629, allocations: 80.91 kB / 1.107 GB, free: 9.324 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004261/0.6634, allocations: 206.7 kB / 1.107 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003537/0.6637, allocations: 327 kB / 1.107 GB, free: 9.113 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007159/0.6644, allocations: 0.7943 MB / 1.108 GB, free: 8.594 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.6664, allocations: 2.198 MB / 1.11 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.6665, allocations: 0 / 1.11 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6665, allocations: 0 / 1.11 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.697e-05/0.6665, allocations: 1.375 kB / 1.11 GB, free: 7.777 MB / 0.8731 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.002692/0.6692, allocations: 2.195 MB / 1.112 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.174e-05/0.6692, allocations: 9.094 kB / 1.112 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.6694, allocations: 199.6 kB / 1.112 GB, free: 6.195 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002317/0.6718, allocations: 1.673 MB / 1.114 GB, free: 5.309 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.6718, allocations: 24.44 kB / 1.114 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.56e-05/0.6719, allocations: 39.8 kB / 1.114 GB, free: 5.285 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006546/0.6725, allocations: 446.6 kB / 1.115 GB, free: 5.125 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.6725, allocations: 3.938 kB / 1.115 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.524e-05/0.6726, allocations: 11.03 kB / 1.115 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.955e-05/0.6726, allocations: 29.5 kB / 1.115 GB, free: 5.102 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005907/0.6732, allocations: 425.6 kB / 1.115 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002666/0.6759, allocations: 2.299 MB / 1.117 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00092/0.6768, allocations: 0.506 MB / 1.118 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/0.6771, allocations: 201.5 kB / 1.118 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.6771, allocations: 3.594 kB / 1.118 GB, free: 3.465 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.6772, allocations: 33.72 kB / 1.118 GB, free: 3.426 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 1.332e-06/0.6772, allocations: 3.938 kB / 1.118 GB, free: 3.422 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.000864/0.678, allocations: 0.6445 MB / 1.119 GB, free: 3.156 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.6781, allocations: 60.03 kB / 1.119 GB, free: 3.09 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003003/0.6811, allocations: 2.551 MB / 1.121 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/0.6811, allocations: 33.66 kB / 1.121 GB, free: 2.227 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/0.6818, allocations: 0.7608 MB / 1.122 GB, free: 1.629 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.311e-05/0.6819, allocations: 118.4 kB / 1.122 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.682, allocations: 68.23 kB / 1.122 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.6821, allocations: 322.6 kB / 1.122 GB, free: 1.184 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.6823, allocations: 138.9 kB / 1.123 GB, free: 1.145 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.6825, allocations: 172.9 kB / 1.123 GB, free: 1.086 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003862/0.6829, allocations: 328.1 kB / 1.123 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6829, allocations: 1.25 kB / 1.123 GB, free: 0.9727 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006504/0.6836, allocations: 0.523 MB / 1.124 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.6836, allocations: 5.844 kB / 1.124 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.6836, allocations: 0 / 1.124 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.6836, allocations: 1.312 kB / 1.124 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.684, allocations: 81.17 kB / 1.124 GB, free: 0.7383 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.684, allocations: 5.156 kB / 1.124 GB, free: 0.7344 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003987/0.6844, allocations: 32.39 kB / 1.124 GB, free: 0.7109 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.016e-05/0.6844, allocations: 9.688 kB / 1.124 GB, free: 0.707 MB / 0.8731 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.0006886/0.6851, allocations: 0.6836 MB / 1.124 GB, free: 424 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/0.6853, allocations: 187.4 kB / 1.124 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002974/0.6856, allocations: 218.3 kB / 1.125 GB, free: 232 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6856, allocations: 4.094 kB / 1.125 GB, free: 232 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6857, allocations: 4.797 kB / 1.125 GB, free: 228 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6857, allocations: 1.594 kB / 1.125 GB, free: 228 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001942/0.6876, allocations: 1.57 MB / 1.126 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6876, allocations: 1.766 kB / 1.126 GB, free: 15.46 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000271/0.6879, allocations: 82.62 kB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.6879, allocations: 3.047 kB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.6879, allocations: 6.406 kB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.6879, allocations: 6.219 kB / 1.126 GB, free: 15.45 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.688, allocations: 9.859 kB / 1.126 GB, free: 15.44 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006754/0.6886, allocations: 0.6367 MB / 1.127 GB, free: 15.07 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004456/0.6891, allocations: 372.5 kB / 1.127 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.6892, allocations: 15.97 kB / 1.127 GB, free: 14.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.6896, allocations: 12.52 kB / 1.127 GB, free: 14.81 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.6897, allocations: 20.17 kB / 1.127 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.6897, allocations: 10.88 kB / 1.127 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002265/0.692, allocations: 1.829 MB / 1.129 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.3e-07/0.692, allocations: 0 / 1.129 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006307/0.6926, allocations: 228.7 kB / 1.129 GB, free: 14.16 MB / 0.8887 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.0003402/0.6929, allocations: 169.1 kB / 1.13 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004933/0.6935, allocations: 337.1 kB / 1.13 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.6935, allocations: 1.094 kB / 1.13 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002087/0.6937, allocations: 167.7 kB / 1.13 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.6957, allocations: 0.6289 MB / 1.131 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004078/0.6998, allocations: 3.351 MB / 1.134 GB, free: 12.23 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001263/0.7011, allocations: 1.754 MB / 1.136 GB, free: 11.32 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006938/0.7018, allocations: 310.4 kB / 1.136 GB, free: 11.29 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001658/0.7019, allocations: 82.34 kB / 1.136 GB, free: 11.28 MB / 0.8887 GB Notification: Performance of SimCode: time 4.61e-07/0.7019, allocations: 4 kB / 1.136 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of Templates: time 0.03274/0.7347, allocations: 21.71 MB / 1.157 GB, free: 2.973 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches