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.004911/0.004911, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.001256/0.001255, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.181/1.181, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.967/1.967, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 63.91 kB / 0.9509 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6354/0.6365, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.006085/0.6426, allocations: 7.338 MB / 1.095 GB, free: 228 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006249/0.6488, allocations: 5.191 MB / 1.1 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005513/0.6494, allocations: 56.41 kB / 1.1 GB, free: 12.42 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003389/0.6528, allocations: 1.686 MB / 1.102 GB, free: 11.63 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.6539, allocations: 0.6014 MB / 1.103 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006199/0.6545, allocations: 234 kB / 1.103 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001647/0.6562, allocations: 1.76 MB / 1.104 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007653/0.6569, allocations: 0.5835 MB / 1.105 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006847/0.6576, allocations: 0.7028 MB / 1.106 GB, free: 9.734 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008162/0.6585, allocations: 0.8053 MB / 1.107 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.6586, allocations: 80.28 kB / 1.107 GB, free: 9.348 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004276/0.659, allocations: 211.3 kB / 1.107 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0003084/0.6593, allocations: 330.9 kB / 1.107 GB, free: 9.129 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006389/0.66, allocations: 0.7828 MB / 1.108 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.6621, allocations: 2.424 MB / 1.11 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.307e-06/0.6621, allocations: 1.375 kB / 1.11 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6621, allocations: 0.7031 kB / 1.11 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.699e-05/0.6622, allocations: 0 / 1.11 GB, free: 7.711 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.002632/0.6648, allocations: 2.255 MB / 1.112 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.6648, allocations: 9.594 kB / 1.112 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.6651, allocations: 200 kB / 1.113 GB, free: 6.098 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00234/0.6674, allocations: 1.674 MB / 1.114 GB, free: 5.219 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.704e-05/0.6674, allocations: 31.58 kB / 1.114 GB, free: 5.203 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.128e-05/0.6675, allocations: 32.41 kB / 1.114 GB, free: 5.195 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006342/0.6681, allocations: 445.6 kB / 1.115 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.6682, allocations: 1.188 kB / 1.115 GB, free: 5.035 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.628e-05/0.6682, allocations: 19.02 kB / 1.115 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.6682, allocations: 24.89 kB / 1.115 GB, free: 5.012 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000574/0.6688, allocations: 432.3 kB / 1.115 GB, free: 4.895 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002668/0.6715, allocations: 2.296 MB / 1.117 GB, free: 3.586 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008626/0.6724, allocations: 0.5006 MB / 1.118 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002584/0.6726, allocations: 200.3 kB / 1.118 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.6727, allocations: 4.938 kB / 1.118 GB, free: 3.375 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/0.6727, allocations: 45.31 kB / 1.118 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=34): time 1.403e-06/0.6727, allocations: 0 / 1.118 GB, free: 3.324 MB / 0.8731 GB Notification: Performance of matching and sorting (n=34): time 0.0008231/0.6735, allocations: 0.6411 MB / 1.119 GB, free: 3.062 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.809e-05/0.6736, allocations: 56.12 kB / 1.119 GB, free: 3 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002873/0.6764, allocations: 2.552 MB / 1.121 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.6765, allocations: 34.98 kB / 1.121 GB, free: 2.133 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006386/0.6771, allocations: 0.7637 MB / 1.122 GB, free: 1.535 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.915e-05/0.6772, allocations: 108.8 kB / 1.122 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-05/0.6773, allocations: 72.95 kB / 1.122 GB, free: 1.406 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.868e-05/0.6774, allocations: 318.4 kB / 1.123 GB, free: 1.098 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.6776, allocations: 137.8 kB / 1.123 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002259/0.6778, allocations: 173 kB / 1.123 GB, free: 1 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003963/0.6782, allocations: 330.8 kB / 1.123 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6782, allocations: 0 / 1.123 GB, free: 0.8828 MB / 0.8731 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006132/0.6788, allocations: 0.5265 MB / 1.124 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.6789, allocations: 5.219 kB / 1.124 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.6789, allocations: 0 / 1.124 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.6789, allocations: 2.469 kB / 1.124 GB, free: 0.6562 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002813/0.6792, allocations: 85.06 kB / 1.124 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.6792, allocations: 1.094 kB / 1.124 GB, free: 0.6445 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003155/0.6795, allocations: 32.06 kB / 1.124 GB, free: 0.6211 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.6795, allocations: 14.09 kB / 1.124 GB, free: 0.6133 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.000668/0.6802, allocations: 0.6901 MB / 1.125 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/0.6804, allocations: 183.6 kB / 1.125 GB, free: 220 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.6807, allocations: 214.2 kB / 1.125 GB, free: 136 kB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.6807, allocations: 3.812 kB / 1.125 GB, free: 136 kB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6807, allocations: 0 / 1.125 GB, free: 136 kB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.6807, allocations: 5.969 kB / 1.125 GB, free: 132 kB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001905/0.6826, allocations: 1.575 MB / 1.126 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6826, allocations: 1.469 kB / 1.126 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.6829, allocations: 73.97 kB / 1.127 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.6829, allocations: 2.25 kB / 1.127 GB, free: 15.37 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.6829, allocations: 8.203 kB / 1.127 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.6829, allocations: 5.469 kB / 1.127 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.6829, allocations: 6.016 kB / 1.127 GB, free: 15.36 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006477/0.6836, allocations: 0.6415 MB / 1.127 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004535/0.684, allocations: 376.5 kB / 1.128 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.6842, allocations: 5.875 kB / 1.128 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003437/0.6845, allocations: 13.36 kB / 1.128 GB, free: 14.73 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.6846, allocations: 25.05 kB / 1.128 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.6846, allocations: 6.656 kB / 1.128 GB, free: 14.72 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002134/0.6868, allocations: 1.832 MB / 1.129 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6868, allocations: 5.312 kB / 1.129 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0005692/0.6873, allocations: 224 kB / 1.13 GB, free: 14.07 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.6877, allocations: 173.8 kB / 1.13 GB, free: 13.95 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004787/0.6881, allocations: 332.7 kB / 1.13 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6882, allocations: 0 / 1.13 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0002092/0.6884, allocations: 176.3 kB / 1.13 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.6903, allocations: 0.6218 MB / 1.131 GB, free: 13.6 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/0.6944, allocations: 3.35 MB / 1.134 GB, free: 12.14 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001289/0.6957, allocations: 1.75 MB / 1.136 GB, free: 11.23 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006169/0.6963, allocations: 315.3 kB / 1.136 GB, free: 11.19 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.6965, allocations: 82.03 kB / 1.136 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of SimCode: time 2.8e-07/0.6965, allocations: 0 / 1.136 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of Templates: time 0.03439/0.7309, allocations: 21.88 MB / 1.158 GB, free: 2.703 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