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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.004131/0.004131, allocations: 99.34 kB / 15.73 MB, free: 6.035 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.0009171/0.0009171, allocations: 195.9 kB / 16.67 MB, free: 5.961 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.176/1.176, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.054/2.054, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001082/0.001082, allocations: 72.08 kB / 0.951 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2181, allocations: 140.4 MB / 1.088 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007195/0.2253, allocations: 7.33 MB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005741/0.231, allocations: 5.2 MB / 1.1 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005265/0.2316, allocations: 51.75 kB / 1.1 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003197/0.2348, allocations: 1.687 MB / 1.102 GB, free: 3.027 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009583/0.2358, allocations: 0.6087 MB / 1.103 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005523/0.2363, allocations: 228 kB / 1.103 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001415/0.2378, allocations: 1.759 MB / 1.104 GB, free: 444 kB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005935/0.2384, allocations: 0.5813 MB / 1.105 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006069/0.239, allocations: 0.7075 MB / 1.106 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007245/0.2397, allocations: 0.8084 MB / 1.107 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.2399, allocations: 80 kB / 1.107 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003656/0.2402, allocations: 203.8 kB / 1.107 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002651/0.2405, allocations: 326.5 kB / 1.107 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.000609/0.2411, allocations: 0.796 MB / 1.108 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/0.2431, allocations: 2.436 MB / 1.11 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2431, allocations: 0 / 1.11 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.122e-06/0.2431, allocations: 0 / 1.11 GB, free: 10.46 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.2431, allocations: 0 / 1.11 GB, free: 10.46 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.00262/0.2457, allocations: 2.319 MB / 1.113 GB, free: 8.074 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.2458, allocations: 12.03 kB / 1.113 GB, free: 8.062 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.246, allocations: 211.6 kB / 1.113 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.2483, allocations: 1.702 MB / 1.114 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.2483, allocations: 21 kB / 1.114 GB, free: 6.062 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.372e-05/0.2483, allocations: 47.98 kB / 1.114 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006033/0.249, allocations: 442.3 kB / 1.115 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.249, allocations: 0 / 1.115 GB, free: 5.578 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.188e-05/0.249, allocations: 12 kB / 1.115 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-05/0.249, allocations: 24.98 kB / 1.115 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/0.2496, allocations: 427.6 kB / 1.115 GB, free: 5.121 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.2523, allocations: 2.308 MB / 1.118 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008567/0.2531, allocations: 0.5005 MB / 1.118 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002504/0.2534, allocations: 209.3 kB / 1.118 GB, free: 1.945 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.544e-05/0.2534, allocations: 4.281 kB / 1.118 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.2535, allocations: 34.84 kB / 1.118 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 1.473e-06/0.2535, allocations: 0 / 1.118 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.0008121/0.2543, allocations: 0.6511 MB / 1.119 GB, free: 1.242 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.748e-05/0.2543, allocations: 55.41 kB / 1.119 GB, free: 1.176 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.257, allocations: 2.555 MB / 1.122 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.257, allocations: 29.7 kB / 1.122 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006394/0.2577, allocations: 0.7646 MB / 1.122 GB, free: 13.79 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 7.957e-05/0.2577, allocations: 126.9 kB / 1.122 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/0.2578, allocations: 65.66 kB / 1.122 GB, free: 13.59 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.2579, allocations: 318.5 kB / 1.123 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.2581, allocations: 139.9 kB / 1.123 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002156/0.2584, allocations: 173.6 kB / 1.123 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003975/0.2588, allocations: 326.2 kB / 1.123 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2588, allocations: 4.031 kB / 1.123 GB, free: 12.64 MB / 0.8887 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006096/0.2594, allocations: 0.539 MB / 1.124 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.2594, allocations: 4 kB / 1.124 GB, free: 12.09 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2594, allocations: 3.938 kB / 1.124 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.2594, allocations: 0 / 1.124 GB, free: 12.08 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.2597, allocations: 83.89 kB / 1.124 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.2598, allocations: 0 / 1.124 GB, free: 12 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.2601, allocations: 31.77 kB / 1.124 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.2601, allocations: 11.94 kB / 1.124 GB, free: 11.96 MB / 0.8887 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.0006297/0.2607, allocations: 0.6925 MB / 1.125 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.2609, allocations: 194.7 kB / 1.125 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002566/0.2612, allocations: 219.2 kB / 1.125 GB, free: 10.85 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.2612, allocations: 4 kB / 1.125 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2612, allocations: 0 / 1.125 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2612, allocations: 3.984 kB / 1.125 GB, free: 10.84 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001785/0.263, allocations: 1.566 MB / 1.127 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.263, allocations: 4.031 kB / 1.127 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002746/0.2633, allocations: 79.89 kB / 1.127 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2633, allocations: 0 / 1.127 GB, free: 9.121 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.2633, allocations: 8 kB / 1.127 GB, free: 9.113 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.068e-05/0.2633, allocations: 4 kB / 1.127 GB, free: 9.109 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.2633, allocations: 7.938 kB / 1.127 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006165/0.264, allocations: 0.6517 MB / 1.127 GB, free: 8.422 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005283/0.2645, allocations: 375.6 kB / 1.128 GB, free: 8.035 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/0.2647, allocations: 11.98 kB / 1.128 GB, free: 8.023 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003728/0.265, allocations: 12 kB / 1.128 GB, free: 8.012 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.2651, allocations: 19.91 kB / 1.128 GB, free: 7.992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.697e-05/0.2651, allocations: 12 kB / 1.128 GB, free: 7.98 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001997/0.2671, allocations: 1.831 MB / 1.13 GB, free: 6.133 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2671, allocations: 4 kB / 1.13 GB, free: 6.129 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005154/0.2676, allocations: 223.8 kB / 1.13 GB, free: 5.91 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.0003119/0.2679, allocations: 165.9 kB / 1.13 GB, free: 5.75 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.2684, allocations: 339.6 kB / 1.13 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2684, allocations: 0 / 1.13 GB, free: 5.418 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.2686, allocations: 175.7 kB / 1.13 GB, free: 5.246 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.2706, allocations: 0.613 MB / 1.131 GB, free: 4.645 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/0.2744, allocations: 3.405 MB / 1.134 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.2755, allocations: 1.758 MB / 1.136 GB, free: 15.4 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0005538/0.2761, allocations: 315.3 kB / 1.136 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.2762, allocations: 83.44 kB / 1.136 GB, free: 15 MB / 0.9044 GB Notification: Performance of SimCode: time 2.51e-07/0.2762, allocations: 0 / 1.136 GB, free: 15 MB / 0.9044 GB Notification: Performance of Templates: time 0.03149/0.3077, allocations: 21.87 MB / 1.158 GB, free: 9.461 MB / 0.92 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