Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001156/0.001156, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001215/0.001215, allocations: 197 kB / 16.53 MB, free: 6.664 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.203/1.203, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.051/2.051, allocations: 390.2 MB / 0.6647 GB, free: 284 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001114/0.001114, allocations: 67.89 kB / 0.8125 GB, free: 14.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5303, allocations: 140.4 MB / 0.9496 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005975/0.5363, allocations: 7.339 MB / 0.9567 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00495/0.5413, allocations: 5.183 MB / 0.9618 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004914/0.5418, allocations: 42.53 kB / 0.9618 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003246/0.5451, allocations: 1.691 MB / 0.9635 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0009056/0.546, allocations: 0.5921 MB / 0.9641 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.5465, allocations: 232.7 kB / 0.9643 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001476/0.548, allocations: 1.744 MB / 0.966 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006344/0.5487, allocations: 0.5875 MB / 0.9666 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006229/0.5493, allocations: 0.6715 MB / 0.9672 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007985/0.5501, allocations: 0.8141 MB / 0.968 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.5502, allocations: 82.44 kB / 0.9681 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004391/0.5507, allocations: 205.7 kB / 0.9683 GB, free: 11 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.551, allocations: 324.2 kB / 0.9686 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006363/0.5516, allocations: 0.7911 MB / 0.9694 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001678/0.5533, allocations: 2.193 MB / 0.9715 GB, free: 8.766 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.5533, allocations: 5.438 kB / 0.9715 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5533, allocations: 0 / 0.9715 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.5534, allocations: 3.938 kB / 0.9715 GB, free: 8.758 MB / 0.7325 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.002581/0.5559, allocations: 2.205 MB / 0.9737 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.556, allocations: 9.062 kB / 0.9737 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/0.5562, allocations: 200 kB / 0.9739 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.5582, allocations: 1.568 MB / 0.9754 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.5582, allocations: 27.73 kB / 0.9754 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.5583, allocations: 36.84 kB / 0.9755 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006112/0.5589, allocations: 444.4 kB / 0.9759 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5589, allocations: 0 / 0.9759 GB, free: 5.621 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.62e-05/0.5589, allocations: 14.67 kB / 0.9759 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4e-05/0.559, allocations: 30.03 kB / 0.9759 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005649/0.5596, allocations: 434.9 kB / 0.9764 GB, free: 5.387 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.5622, allocations: 2.336 MB / 0.9786 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000897/0.5631, allocations: 0.4947 MB / 0.9791 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/0.5634, allocations: 201.3 kB / 0.9793 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.5634, allocations: 4.281 kB / 0.9793 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.984e-05/0.5634, allocations: 30.84 kB / 0.9794 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.423e-06/0.5634, allocations: 4 kB / 0.9794 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.0008399/0.5643, allocations: 0.6461 MB / 0.98 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.5643, allocations: 55.41 kB / 0.98 GB, free: 2.227 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.5671, allocations: 2.579 MB / 0.9826 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.5671, allocations: 29.7 kB / 0.9826 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/0.5678, allocations: 0.7645 MB / 0.9833 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.135e-05/0.5678, allocations: 118.3 kB / 0.9834 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.568, allocations: 69.59 kB / 0.9835 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.441e-05/0.5681, allocations: 318.5 kB / 0.9838 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001868/0.5683, allocations: 135.9 kB / 0.9839 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002198/0.5685, allocations: 189.4 kB / 0.9841 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/0.5689, allocations: 322.3 kB / 0.9844 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5689, allocations: 0 / 0.9844 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006125/0.5695, allocations: 0.5339 MB / 0.985 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.5695, allocations: 5.25 kB / 0.985 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.339e-06/0.5695, allocations: 3.938 kB / 0.985 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.5695, allocations: 4 kB / 0.985 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.5699, allocations: 79.89 kB / 0.985 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.5699, allocations: 0 / 0.985 GB, free: 13.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003197/0.5702, allocations: 27.69 kB / 0.9851 GB, free: 13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.5702, allocations: 8.031 kB / 0.9851 GB, free: 13 MB / 0.7481 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.0006496/0.5709, allocations: 0.6925 MB / 0.9858 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.5711, allocations: 185.6 kB / 0.9859 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.5713, allocations: 223.2 kB / 0.9861 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.5713, allocations: 4 kB / 0.9861 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5714, allocations: 0 / 0.9861 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5714, allocations: 0 / 0.9861 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001718/0.5731, allocations: 1.586 MB / 0.9877 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.5731, allocations: 0 / 0.9877 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000268/0.5734, allocations: 79.89 kB / 0.9878 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5734, allocations: 0 / 0.9878 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.5734, allocations: 12 kB / 0.9878 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.5734, allocations: 0 / 0.9878 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5734, allocations: 7.938 kB / 0.9878 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006189/0.574, allocations: 0.6352 MB / 0.9884 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004496/0.5745, allocations: 378.5 kB / 0.9888 GB, free: 9.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.5747, allocations: 8 kB / 0.9888 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003577/0.575, allocations: 4 kB / 0.9888 GB, free: 9.062 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.018e-05/0.5751, allocations: 27.84 kB / 0.9888 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.5751, allocations: 16 kB / 0.9888 GB, free: 9.02 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002002/0.5771, allocations: 1.847 MB / 0.9906 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5771, allocations: 0 / 0.9906 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005561/0.5777, allocations: 227.8 kB / 0.9908 GB, free: 6.934 MB / 0.7481 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.0003346/0.578, allocations: 167 kB / 0.991 GB, free: 6.766 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005664/0.5786, allocations: 403.6 kB / 0.9914 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5786, allocations: 0 / 0.9914 GB, free: 6.371 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.5788, allocations: 175.7 kB / 0.9916 GB, free: 6.199 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001983/0.5808, allocations: 0.6258 MB / 0.9922 GB, free: 5.59 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.5846, allocations: 3.395 MB / 0.9955 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00111/0.5857, allocations: 1.754 MB / 0.9972 GB, free: 368 kB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000556/0.5863, allocations: 303.1 kB / 0.9975 GB, free: 60 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.5864, allocations: 79.48 kB / 0.9976 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of SimCode: time 2.31e-07/0.5864, allocations: 0 / 0.9976 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of Templates: time 0.03045/0.6169, allocations: 21.83 MB / 1.019 GB, free: 10.5 MB / 0.7794 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches