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.0009955/0.0009955, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009469/0.000947, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.167/1.167, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.343/2.343, allocations: 461.9 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 70.45 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.225/0.2262, allocations: 157.4 MB / 1.052 GB, free: 8.879 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007347/0.2335, allocations: 7.291 MB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006065/0.2396, allocations: 5.127 MB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009628/0.2406, allocations: 39.81 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003916/0.2446, allocations: 1.579 MB / 1.066 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.246, allocations: 0.5356 MB / 1.066 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006602/0.2466, allocations: 199 kB / 1.067 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.002241/0.2489, allocations: 1.964 MB / 1.068 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007325/0.2496, allocations: 0.5337 MB / 1.069 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008262/0.2505, allocations: 0.6411 MB / 1.07 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009804/0.2514, allocations: 0.8006 MB / 1.07 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002223/0.2517, allocations: 68 kB / 1.07 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000561/0.2522, allocations: 199.7 kB / 1.071 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003612/0.2526, allocations: 310.6 kB / 1.071 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0009181/0.2535, allocations: 0.7765 MB / 1.072 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001712/0.2553, allocations: 2.047 MB / 1.074 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.2553, allocations: 0 / 1.074 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2553, allocations: 0 / 1.074 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.071e-05/0.2553, allocations: 4 kB / 1.074 GB, free: 2.668 MB / 0.8262 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.00309/0.2584, allocations: 2.163 MB / 1.076 GB, free: 444 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.314e-05/0.2585, allocations: 8.031 kB / 1.076 GB, free: 436 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.2587, allocations: 198.4 kB / 1.076 GB, free: 236 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.2609, allocations: 1.571 MB / 1.078 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.261, allocations: 32.98 kB / 1.078 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.261, allocations: 36 kB / 1.078 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006448/0.2617, allocations: 442.3 kB / 1.078 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.2617, allocations: 3.984 kB / 1.078 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.2617, allocations: 15.98 kB / 1.078 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.2618, allocations: 24.98 kB / 1.078 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005757/0.2624, allocations: 427.6 kB / 1.078 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.2651, allocations: 2.327 MB / 1.081 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008906/0.266, allocations: 0.5007 MB / 1.081 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002501/0.2663, allocations: 197.3 kB / 1.081 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.2663, allocations: 8.281 kB / 1.081 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.2664, allocations: 38.83 kB / 1.081 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=34): time 1.633e-06/0.2664, allocations: 0 / 1.081 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34): time 0.0008591/0.2672, allocations: 0.6452 MB / 1.082 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.2673, allocations: 55.41 kB / 1.082 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002945/0.2702, allocations: 2.579 MB / 1.085 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.2703, allocations: 33.7 kB / 1.085 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006602/0.2709, allocations: 0.7643 MB / 1.085 GB, free: 6.246 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.573e-05/0.271, allocations: 122.3 kB / 1.086 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.2711, allocations: 65.61 kB / 1.086 GB, free: 6.055 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 8.991e-05/0.2712, allocations: 318.5 kB / 1.086 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001931/0.2714, allocations: 139.9 kB / 1.086 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.2716, allocations: 186.5 kB / 1.086 GB, free: 5.414 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.2721, allocations: 324.6 kB / 1.087 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2721, allocations: 0 / 1.087 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006487/0.2727, allocations: 0.5229 MB / 1.087 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.2727, allocations: 8.031 kB / 1.087 GB, free: 4.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.2728, allocations: 4 kB / 1.087 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2728, allocations: 0 / 1.087 GB, free: 4.551 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.2731, allocations: 79.89 kB / 1.087 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.2731, allocations: 0 / 1.087 GB, free: 4.473 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000325/0.2734, allocations: 39.52 kB / 1.087 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.2735, allocations: 11.98 kB / 1.087 GB, free: 4.422 MB / 0.8419 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.0006672/0.2741, allocations: 0.6925 MB / 1.088 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/0.2743, allocations: 189.7 kB / 1.088 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.2746, allocations: 215.2 kB / 1.088 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2746, allocations: 4 kB / 1.088 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2746, allocations: 0 / 1.088 GB, free: 3.316 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.2746, allocations: 3.984 kB / 1.088 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.2764, allocations: 1.574 MB / 1.09 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2764, allocations: 96 / 1.09 GB, free: 1.668 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.2767, allocations: 83.89 kB / 1.09 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.2767, allocations: 4 kB / 1.09 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.2767, allocations: 4 kB / 1.09 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.2767, allocations: 7.938 kB / 1.09 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.2767, allocations: 3.938 kB / 1.09 GB, free: 1.566 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.2774, allocations: 0.6309 MB / 1.091 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000465/0.2778, allocations: 374.6 kB / 1.091 GB, free: 0.5195 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.278, allocations: 11.98 kB / 1.091 GB, free: 0.5078 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.2784, allocations: 11.91 kB / 1.091 GB, free: 0.4961 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.2784, allocations: 27.84 kB / 1.091 GB, free: 480 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.2785, allocations: 8 kB / 1.091 GB, free: 472 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002162/0.2806, allocations: 1.847 MB / 1.093 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2806, allocations: 4 kB / 1.093 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000555/0.2812, allocations: 231.8 kB / 1.093 GB, free: 14.36 MB / 0.8575 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.0003347/0.2815, allocations: 168 kB / 1.093 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004647/0.282, allocations: 328.9 kB / 1.093 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.282, allocations: 4 kB / 1.093 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002163/0.2823, allocations: 176.3 kB / 1.094 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.2843, allocations: 0.579 MB / 1.094 GB, free: 13.13 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.2886, allocations: 3.797 MB / 1.098 GB, free: 9.289 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/0.2899, allocations: 1.754 MB / 1.1 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0006535/0.2906, allocations: 315 kB / 1.1 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001634/0.2908, allocations: 79.44 kB / 1.1 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of SimCode: time 3.3e-07/0.2908, allocations: 0 / 1.1 GB, free: 7.109 MB / 0.8575 GB Notification: Performance of Templates: time 0.0309/0.3217, allocations: 21.06 MB / 1.121 GB, free: 2.348 MB / 0.8731 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/jenkins/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