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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001143/0.001143, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001104/0.001104, allocations: 191 kB / 17.29 MB, free: 5.516 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.413/2.413, allocations: 442.6 MB / 0.7165 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 71.95 kB / 0.8773 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2567, allocations: 153 MB / 1.027 GB, free: 2.109 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00765/0.2644, allocations: 7.344 MB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006566/0.271, allocations: 5.192 MB / 1.039 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000755/0.2718, allocations: 43.75 kB / 1.039 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.003572/0.2754, allocations: 1.691 MB / 1.041 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.2766, allocations: 0.5972 MB / 1.041 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.2773, allocations: 235.1 kB / 1.041 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001681/0.2789, allocations: 1.759 MB / 1.043 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006544/0.2796, allocations: 0.5853 MB / 1.044 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006474/0.2803, allocations: 0.6685 MB / 1.044 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008504/0.2811, allocations: 0.8123 MB / 1.045 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2813, allocations: 80 kB / 1.045 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.2817, allocations: 199.8 kB / 1.045 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.282, allocations: 334.6 kB / 1.046 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006631/0.2827, allocations: 0.7882 MB / 1.047 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.2845, allocations: 2.207 MB / 1.049 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2845, allocations: 0 / 1.049 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2845, allocations: 0 / 1.049 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.2845, allocations: 0 / 1.049 GB, free: 11.48 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.002856/0.2874, allocations: 2.191 MB / 1.051 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2874, allocations: 12.03 kB / 1.051 GB, free: 9.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.2877, allocations: 198.4 kB / 1.051 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002372/0.29, allocations: 1.673 MB / 1.053 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.2901, allocations: 25 kB / 1.053 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.358e-05/0.2901, allocations: 35.98 kB / 1.053 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000646/0.2908, allocations: 450.3 kB / 1.053 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.2908, allocations: 3.984 kB / 1.053 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.2908, allocations: 16 kB / 1.053 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/0.2909, allocations: 21 kB / 1.053 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006077/0.2915, allocations: 427.6 kB / 1.054 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00294/0.2944, allocations: 2.299 MB / 1.056 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000964/0.2954, allocations: 0.4948 MB / 1.056 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/0.2957, allocations: 201.3 kB / 1.057 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.2957, allocations: 4.281 kB / 1.057 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.2958, allocations: 38.78 kB / 1.057 GB, free: 3.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=34): time 1.853e-06/0.2958, allocations: 8 kB / 1.057 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.0008851/0.2967, allocations: 0.6414 MB / 1.057 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/0.2967, allocations: 55.41 kB / 1.057 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/0.2997, allocations: 2.555 MB / 1.06 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.2997, allocations: 29.7 kB / 1.06 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006625/0.3004, allocations: 0.776 MB / 1.061 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.843e-05/0.3005, allocations: 110.3 kB / 1.061 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.3006, allocations: 69.59 kB / 1.061 GB, free: 14.79 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.214e-05/0.3007, allocations: 326.5 kB / 1.061 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.3009, allocations: 131.9 kB / 1.061 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002293/0.3011, allocations: 178.1 kB / 1.061 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004201/0.3016, allocations: 330.1 kB / 1.062 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3016, allocations: 0 / 1.062 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006675/0.3022, allocations: 0.5226 MB / 1.062 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3023, allocations: 6.812 kB / 1.062 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3023, allocations: 0 / 1.062 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.3023, allocations: 0 / 1.062 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003415/0.3027, allocations: 87.92 kB / 1.062 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3027, allocations: 0 / 1.062 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003658/0.303, allocations: 31.59 kB / 1.062 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.3031, allocations: 8 kB / 1.062 GB, free: 13.17 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.0006894/0.3038, allocations: 0.6963 MB / 1.063 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.304, allocations: 185.7 kB / 1.063 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.3042, allocations: 215.2 kB / 1.063 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3042, allocations: 0 / 1.063 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.3043, allocations: 15.98 kB / 1.063 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3043, allocations: 0 / 1.063 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/0.3062, allocations: 1.563 MB / 1.065 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3062, allocations: 0 / 1.065 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002968/0.3065, allocations: 79.89 kB / 1.065 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3065, allocations: 0 / 1.065 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3066, allocations: 8.094 kB / 1.065 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.3066, allocations: 4 kB / 1.065 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.3066, allocations: 7.938 kB / 1.065 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/0.3073, allocations: 0.64 MB / 1.066 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006144/0.3079, allocations: 366.6 kB / 1.066 GB, free: 9.277 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001508/0.308, allocations: 12 kB / 1.066 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003869/0.3084, allocations: 11.98 kB / 1.066 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.3085, allocations: 19.91 kB / 1.066 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.3085, allocations: 12 kB / 1.066 GB, free: 9.223 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002288/0.3108, allocations: 1.835 MB / 1.068 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3108, allocations: 0 / 1.068 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005986/0.3114, allocations: 227.7 kB / 1.068 GB, free: 7.148 MB / 0.8419 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.0003702/0.3118, allocations: 174 kB / 1.068 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004971/0.3123, allocations: 335.5 kB / 1.068 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3123, allocations: 0 / 1.068 GB, free: 6.648 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.3125, allocations: 175.7 kB / 1.069 GB, free: 6.477 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002198/0.3147, allocations: 0.6236 MB / 1.069 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004969/0.3197, allocations: 3.348 MB / 1.073 GB, free: 2.473 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/0.3213, allocations: 1.754 MB / 1.074 GB, free: 0.6758 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0007651/0.322, allocations: 311.3 kB / 1.075 GB, free: 376 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.3222, allocations: 79.44 kB / 1.075 GB, free: 300 kB / 0.8419 GB Notification: Performance of SimCode: time 5.81e-07/0.3222, allocations: 4 kB / 1.075 GB, free: 296 kB / 0.8419 GB Notification: Performance of Templates: time 0.4456/0.7679, allocations: 21.71 MB / 1.096 GB, free: 49.71 MB / 0.8419 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 -s gbode -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