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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001308/0.001308, allocations: 102.2 kB / 16.27 MB, free: 6 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.001258/0.001258, allocations: 191 kB / 17.2 MB, free: 5.609 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.491/1.491, allocations: 222.9 MB / 240.9 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.921/2.921, allocations: 482.4 MB / 0.7553 GB, free: 6.996 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002138/0.002138, allocations: 67.67 kB / 0.9245 GB, free: 16 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8801/0.8823, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.009949/0.8923, allocations: 7.335 MB / 1.09 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.009833/0.9022, allocations: 5.187 MB / 1.095 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002283/0.9045, allocations: 39.31 kB / 1.095 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006495/0.9111, allocations: 1.693 MB / 1.097 GB, free: 7.789 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.9142, allocations: 0.5978 MB / 1.097 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.9155, allocations: 223 kB / 1.098 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003617/0.9191, allocations: 1.743 MB / 1.099 GB, free: 6.457 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009955/0.9201, allocations: 0.5882 MB / 1.1 GB, free: 6.211 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/0.9217, allocations: 0.6693 MB / 1.101 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001472/0.9231, allocations: 0.8167 MB / 1.101 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.9234, allocations: 82.72 kB / 1.101 GB, free: 5.512 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007159/0.9241, allocations: 202.9 kB / 1.102 GB, free: 5.473 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004449/0.9246, allocations: 323.4 kB / 1.102 GB, free: 5.309 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.9256, allocations: 0.7924 MB / 1.103 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003278/0.9289, allocations: 2.197 MB / 1.105 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.929, allocations: 1.25 kB / 1.105 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.683e-06/0.929, allocations: 0 / 1.105 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.727e-05/0.929, allocations: 0 / 1.105 GB, free: 3.965 MB / 0.8419 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.004434/0.9335, allocations: 2.202 MB / 1.107 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.9335, allocations: 9.625 kB / 1.107 GB, free: 2.484 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003793/0.9339, allocations: 203.8 kB / 1.107 GB, free: 2.375 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00323/0.9371, allocations: 1.563 MB / 1.109 GB, free: 1.531 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.58e-05/0.9372, allocations: 35.52 kB / 1.109 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.9373, allocations: 32.41 kB / 1.109 GB, free: 1.504 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000884/0.9382, allocations: 450.4 kB / 1.109 GB, free: 1.34 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.9382, allocations: 3.938 kB / 1.109 GB, free: 1.336 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.9382, allocations: 20.34 kB / 1.109 GB, free: 1.32 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-05/0.9383, allocations: 19.8 kB / 1.109 GB, free: 1.316 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007279/0.939, allocations: 429.9 kB / 1.11 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004757/0.9438, allocations: 2.339 MB / 1.112 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.945, allocations: 0.4937 MB / 1.112 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.9453, allocations: 202 kB / 1.113 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.9454, allocations: 9.094 kB / 1.113 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/0.9454, allocations: 40.03 kB / 1.113 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=34): time 3.025e-06/0.9454, allocations: 0 / 1.113 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of matching and sorting (n=34): time 0.001423/0.9469, allocations: 0.6346 MB / 1.113 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.9469, allocations: 54.25 kB / 1.113 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005484/0.9524, allocations: 2.579 MB / 1.116 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/0.9525, allocations: 31.95 kB / 1.116 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.001045/0.9536, allocations: 0.7664 MB / 1.117 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.9538, allocations: 117.9 kB / 1.117 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/0.954, allocations: 68.22 kB / 1.117 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.9541, allocations: 323.3 kB / 1.117 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.9544, allocations: 134.1 kB / 1.117 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003548/0.9548, allocations: 182.1 kB / 1.117 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/0.9554, allocations: 326 kB / 1.118 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.9554, allocations: 1.844 kB / 1.118 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001303/0.9567, allocations: 0.5251 MB / 1.118 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.9568, allocations: 4.375 kB / 1.118 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.9568, allocations: 9.734 kB / 1.118 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.9568, allocations: 1.156 kB / 1.118 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003829/0.9572, allocations: 80.25 kB / 1.118 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.9572, allocations: 1.125 kB / 1.118 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000827/0.958, allocations: 28.5 kB / 1.118 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.139e-05/0.9581, allocations: 10.06 kB / 1.118 GB, free: 12.9 MB / 0.8575 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.001441/0.9595, allocations: 0.6873 MB / 1.119 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005239/0.9601, allocations: 195.3 kB / 1.119 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.9607, allocations: 218.7 kB / 1.119 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.136e-06/0.9607, allocations: 3.125 kB / 1.119 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.9608, allocations: 1.891 kB / 1.119 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.9608, allocations: 1.312 kB / 1.119 GB, free: 12.41 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003867/0.9646, allocations: 1.587 MB / 1.121 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.9647, allocations: 4.094 kB / 1.121 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003528/0.965, allocations: 79.02 kB / 1.121 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.9651, allocations: 2.188 kB / 1.121 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.9651, allocations: 6.703 kB / 1.121 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.9651, allocations: 2.188 kB / 1.121 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.9651, allocations: 6.562 kB / 1.121 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.9663, allocations: 0.6442 MB / 1.122 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001217/0.9676, allocations: 375.6 kB / 1.122 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005583/0.9681, allocations: 6.719 kB / 1.122 GB, free: 11.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007267/0.9689, allocations: 8.609 kB / 1.122 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.333e-05/0.9689, allocations: 25.91 kB / 1.122 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.494e-05/0.969, allocations: 6.906 kB / 1.122 GB, free: 11 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.004178/0.9732, allocations: 1.849 MB / 1.124 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9732, allocations: 4.844 kB / 1.124 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001305/0.9745, allocations: 228.1 kB / 1.124 GB, free: 10.28 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.0005549/0.9751, allocations: 153.1 kB / 1.124 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008367/0.9759, allocations: 408.8 kB / 1.125 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.9759, allocations: 1.375 kB / 1.125 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002746/0.9762, allocations: 171.5 kB / 1.125 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003788/0.98, allocations: 0.624 MB / 1.125 GB, free: 9.625 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006944/0.987, allocations: 3.186 MB / 1.129 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/0.9891, allocations: 1.614 MB / 1.13 GB, free: 6.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004947/0.9896, allocations: 81.97 kB / 1.13 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of SimCode: time 7.01e-07/0.9896, allocations: 0 / 1.13 GB, free: 6.672 MB / 0.8575 GB Notification: Performance of Templates: time 0.05104/1.041, allocations: 24.45 MB / 1.154 GB, free: 5.555 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=400 -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