Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006196/0.006196, allocations: 96.73 kB / 15.73 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.001368/0.001368, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.509/2.509, allocations: 469.8 MB / 0.7425 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 67.89 kB / 1.065 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.258/0.2592, allocations: 159.1 MB / 1.221 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007592/0.2668, allocations: 7.364 MB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006308/0.2731, allocations: 5.211 MB / 1.233 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009596/0.274, allocations: 51.75 kB / 1.233 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003594/0.2776, allocations: 1.687 MB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.2789, allocations: 0.6205 MB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006204/0.2795, allocations: 224.1 kB / 1.236 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001579/0.2811, allocations: 1.76 MB / 1.237 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004788/0.2816, allocations: 411.5 kB / 1.238 GB, free: 12.27 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006216/0.2822, allocations: 0.7075 MB / 1.238 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007561/0.2829, allocations: 0.8045 MB / 1.239 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001178/0.283, allocations: 80 kB / 1.239 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003693/0.2834, allocations: 211.8 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000261/0.2837, allocations: 334.4 kB / 1.24 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00057/0.2842, allocations: 0.7843 MB / 1.24 GB, free: 9.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002016/0.2863, allocations: 2.439 MB / 1.243 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.2863, allocations: 4 kB / 1.243 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2863, allocations: 0 / 1.243 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.2863, allocations: 4 kB / 1.243 GB, free: 6.887 MB / 0.9981 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.002492/0.2888, allocations: 2.324 MB / 1.245 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.2888, allocations: 8.031 kB / 1.245 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002118/0.289, allocations: 219.5 kB / 1.245 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002107/0.2911, allocations: 1.683 MB / 1.247 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.2912, allocations: 28.98 kB / 1.247 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.2912, allocations: 36 kB / 1.247 GB, free: 2.461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006133/0.2918, allocations: 454.3 kB / 1.248 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.2918, allocations: 0 / 1.248 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/0.2919, allocations: 19.92 kB / 1.248 GB, free: 1.996 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.2919, allocations: 24.98 kB / 1.248 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.2925, allocations: 427.6 kB / 1.248 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5101/0.8026, allocations: 2.298 MB / 1.25 GB, free: 29.28 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009422/0.8035, allocations: 493.4 kB / 1.251 GB, free: 29.24 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.8038, allocations: 188.9 kB / 1.251 GB, free: 29.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.8038, allocations: 6.656 kB / 1.251 GB, free: 29.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.8038, allocations: 39.47 kB / 1.251 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=34): time 2.635e-06/0.8038, allocations: 0 / 1.251 GB, free: 29.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=34): time 0.0009891/0.8048, allocations: 0.6439 MB / 1.252 GB, free: 29.16 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.8048, allocations: 60.84 kB / 1.252 GB, free: 29.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/0.8079, allocations: 2.554 MB / 1.254 GB, free: 28.88 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.808, allocations: 33.92 kB / 1.254 GB, free: 28.85 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005814/0.8085, allocations: 0.7681 MB / 1.255 GB, free: 28.76 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.8086, allocations: 124 kB / 1.255 GB, free: 28.69 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.8087, allocations: 70.58 kB / 1.255 GB, free: 28.67 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.225e-05/0.8088, allocations: 323.2 kB / 1.255 GB, free: 28.37 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.809, allocations: 136.8 kB / 1.255 GB, free: 28.37 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.8092, allocations: 181.5 kB / 1.256 GB, free: 28.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003418/0.8095, allocations: 327.8 kB / 1.256 GB, free: 28.34 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.8095, allocations: 2.938 kB / 1.256 GB, free: 28.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006286/0.8101, allocations: 0.5266 MB / 1.256 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.8101, allocations: 8.25 kB / 1.256 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.8102, allocations: 0 / 1.256 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.8102, allocations: 1.531 kB / 1.257 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.8105, allocations: 82.69 kB / 1.257 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.8105, allocations: 0 / 1.257 GB, free: 28.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003901/0.8109, allocations: 30.23 kB / 1.257 GB, free: 28.19 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.8109, allocations: 12.16 kB / 1.257 GB, free: 28.19 MB / 0.9981 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.0006121/0.8115, allocations: 0.6848 MB / 1.257 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.8116, allocations: 197.6 kB / 1.257 GB, free: 27.96 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.8119, allocations: 223.9 kB / 1.258 GB, free: 27.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.8119, allocations: 6.203 kB / 1.258 GB, free: 27.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.8119, allocations: 0.6094 kB / 1.258 GB, free: 27.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.8119, allocations: 4.703 kB / 1.258 GB, free: 27.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001858/0.8137, allocations: 1.567 MB / 1.259 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.8138, allocations: 6.219 kB / 1.259 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/0.814, allocations: 71.83 kB / 1.259 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.814, allocations: 3.5 kB / 1.259 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.814, allocations: 8.875 kB / 1.259 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.814, allocations: 7.984 kB / 1.259 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.814, allocations: 4.344 kB / 1.259 GB, free: 27.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.8146, allocations: 0.6523 MB / 1.26 GB, free: 27.29 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003992/0.815, allocations: 379.1 kB / 1.26 GB, free: 27.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.8151, allocations: 6.609 kB / 1.26 GB, free: 27.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/0.8155, allocations: 11.25 kB / 1.26 GB, free: 27.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.823e-05/0.8155, allocations: 18.52 kB / 1.26 GB, free: 27.09 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.8155, allocations: 14.34 kB / 1.26 GB, free: 27.09 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002077/0.8176, allocations: 1.828 MB / 1.262 GB, free: 26.95 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8176, allocations: 3.719 kB / 1.262 GB, free: 26.95 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006443/0.8183, allocations: 229.5 kB / 1.262 GB, free: 26.94 MB / 0.9981 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.0003457/0.8186, allocations: 163.8 kB / 1.263 GB, free: 26.85 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005533/0.8192, allocations: 325.7 kB / 1.263 GB, free: 26.84 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.8192, allocations: 0.8125 kB / 1.263 GB, free: 26.84 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002318/0.8194, allocations: 171 kB / 1.263 GB, free: 26.82 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.8214, allocations: 0.6321 MB / 1.264 GB, free: 26.66 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004474/0.8259, allocations: 3.405 MB / 1.267 GB, free: 25.16 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001588/0.8274, allocations: 1.758 MB / 1.269 GB, free: 24.27 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008819/0.8283, allocations: 312.8 kB / 1.269 GB, free: 24.24 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001595/0.8285, allocations: 82.88 kB / 1.269 GB, free: 24.23 MB / 0.9981 GB Notification: Performance of SimCode: time 8.02e-07/0.8285, allocations: 0 / 1.269 GB, free: 24.23 MB / 0.9981 GB Notification: Performance of Templates: time 0.03737/0.8659, allocations: 21.96 MB / 1.29 GB, free: 20.8 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches