Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001513/0.001513, allocations: 110 kB / 16.41 MB, free: 6.5 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.001456/0.001456, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.647/2.647, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 63.89 kB / 1.055 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8366/0.8381, allocations: 157.4 MB / 1.209 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009385/0.8476, allocations: 7.33 MB / 1.216 GB, free: 6.254 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008509/0.8561, allocations: 5.186 MB / 1.221 GB, free: 1.051 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.8577, allocations: 55.69 kB / 1.221 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.004995/0.8627, allocations: 1.687 MB / 1.222 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002076/0.8648, allocations: 0.601 MB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.8659, allocations: 227.6 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.002812/0.8688, allocations: 1.756 MB / 1.225 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009418/0.8697, allocations: 0.5891 MB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001157/0.8709, allocations: 0.7075 MB / 1.226 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.8722, allocations: 0.8006 MB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0003523/0.8726, allocations: 84 kB / 1.227 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007758/0.8734, allocations: 199.8 kB / 1.227 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0004874/0.8739, allocations: 330.5 kB / 1.228 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001234/0.8751, allocations: 0.7804 MB / 1.228 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.8783, allocations: 2.433 MB / 1.231 GB, free: 6.754 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.8783, allocations: 4 kB / 1.231 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8783, allocations: 0 / 1.231 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.907e-05/0.8784, allocations: 0 / 1.231 GB, free: 6.75 MB / 0.9512 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.004251/0.8826, allocations: 2.257 MB / 1.233 GB, free: 4.426 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.8827, allocations: 8.031 kB / 1.233 GB, free: 4.418 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004043/0.8831, allocations: 206.3 kB / 1.233 GB, free: 4.215 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003225/0.8863, allocations: 1.673 MB / 1.235 GB, free: 2.473 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.8864, allocations: 25 kB / 1.235 GB, free: 2.449 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.105e-05/0.8864, allocations: 32 kB / 1.235 GB, free: 2.418 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.8872, allocations: 446.3 kB / 1.235 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.8873, allocations: 3.984 kB / 1.235 GB, free: 1.973 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.8873, allocations: 19.98 kB / 1.235 GB, free: 1.953 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/0.8874, allocations: 20.98 kB / 1.235 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.888, allocations: 435.6 kB / 1.236 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00408/0.8921, allocations: 2.296 MB / 1.238 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.8932, allocations: 0.5008 MB / 1.238 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.8935, allocations: 201.3 kB / 1.239 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/0.8935, allocations: 4.281 kB / 1.239 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.8936, allocations: 34.84 kB / 1.239 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 2.644e-06/0.8936, allocations: 0 / 1.239 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.001127/0.8947, allocations: 0.6453 MB / 1.239 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.8947, allocations: 59.34 kB / 1.239 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004311/0.8991, allocations: 2.556 MB / 1.242 GB, free: 11 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 8.371e-05/0.8992, allocations: 33.7 kB / 1.242 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008032/0.9, allocations: 0.7644 MB / 1.243 GB, free: 10.19 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.9001, allocations: 114.3 kB / 1.243 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.9003, allocations: 73.59 kB / 1.243 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.9005, allocations: 322.5 kB / 1.243 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.9007, allocations: 131.9 kB / 1.243 GB, free: 9.547 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002646/0.901, allocations: 185.4 kB / 1.243 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004765/0.9015, allocations: 322.4 kB / 1.244 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.9015, allocations: 0 / 1.244 GB, free: 9.043 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009785/0.9025, allocations: 0.5339 MB / 1.244 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.9025, allocations: 7.984 kB / 1.244 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.9025, allocations: 0 / 1.244 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.9025, allocations: 0 / 1.244 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003762/0.9029, allocations: 79.89 kB / 1.244 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.9029, allocations: 0 / 1.244 GB, free: 8.414 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005371/0.9035, allocations: 27.69 kB / 1.244 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.9035, allocations: 12.03 kB / 1.244 GB, free: 8.375 MB / 0.9669 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.0009345/0.9045, allocations: 0.6925 MB / 1.245 GB, free: 7.672 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003543/0.9048, allocations: 189.5 kB / 1.245 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004748/0.9053, allocations: 215.2 kB / 1.245 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.9053, allocations: 0 / 1.245 GB, free: 7.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.9053, allocations: 4 kB / 1.245 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.9053, allocations: 3.984 kB / 1.245 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00242/0.9078, allocations: 1.57 MB / 1.247 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.9078, allocations: 4 kB / 1.247 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003152/0.9081, allocations: 71.95 kB / 1.247 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.634e-06/0.9081, allocations: 0 / 1.247 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/0.9081, allocations: 11.94 kB / 1.247 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.9082, allocations: 0 / 1.247 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.9082, allocations: 7.938 kB / 1.247 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/0.909, allocations: 0.639 MB / 1.248 GB, free: 4.859 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006401/0.9097, allocations: 370.5 kB / 1.248 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/0.9099, allocations: 8 kB / 1.248 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004628/0.9104, allocations: 8 kB / 1.248 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.9104, allocations: 31.78 kB / 1.248 GB, free: 4.43 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.9105, allocations: 12 kB / 1.248 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003031/0.9135, allocations: 1.835 MB / 1.25 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9135, allocations: 0 / 1.25 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008624/0.9144, allocations: 219.8 kB / 1.25 GB, free: 2.352 MB / 0.9669 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.0004976/0.9149, allocations: 172.4 kB / 1.25 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006209/0.9155, allocations: 335.6 kB / 1.251 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9155, allocations: 0 / 1.251 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.9158, allocations: 175.8 kB / 1.251 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002836/0.9186, allocations: 0.6293 MB / 1.251 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/0.9242, allocations: 3.14 MB / 1.254 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.9258, allocations: 1.619 MB / 1.256 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.9261, allocations: 83.44 kB / 1.256 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of SimCode: time 7.62e-07/0.9261, allocations: 0 / 1.256 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of Templates: time 0.03885/0.965, allocations: 24.78 MB / 1.28 GB, free: 3.531 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches