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.001176/0.001176, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001167/0.001167, allocations: 193.9 kB / 16.14 MB, free: 6.691 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.17/1.17, 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 9.1.3-maint.9.1.x/package.mo): time 2.012/2.012, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 63.89 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4949/0.4959, allocations: 140.3 MB / 0.9489 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.005596/0.5016, allocations: 7.298 MB / 0.956 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005235/0.5068, allocations: 5.122 MB / 0.961 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006696/0.5075, allocations: 40.12 kB / 0.9611 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003406/0.5109, allocations: 1.58 MB / 0.9626 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.512, allocations: 0.5217 MB / 0.9631 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005378/0.5125, allocations: 196.7 kB / 0.9633 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.5142, allocations: 1.962 MB / 0.9652 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000586/0.5148, allocations: 0.554 MB / 0.9658 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007407/0.5156, allocations: 0.6339 MB / 0.9664 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007781/0.5164, allocations: 0.8158 MB / 0.9672 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.00013/0.5165, allocations: 69.16 kB / 0.9673 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000418/0.5169, allocations: 182.1 kB / 0.9674 GB, free: 11.45 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002739/0.5172, allocations: 314.7 kB / 0.9677 GB, free: 11.22 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006384/0.5179, allocations: 0.7751 MB / 0.9685 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.5194, allocations: 2.05 MB / 0.9705 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.5194, allocations: 1.344 kB / 0.9705 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of FrontEnd: time 7.81e-07/0.5194, allocations: 7.938 kB / 0.9705 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.5194, allocations: 0 / 0.9705 GB, free: 9.293 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.002783/0.5222, allocations: 2.156 MB / 0.9726 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5222, allocations: 13.75 kB / 0.9726 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002523/0.5225, allocations: 199.3 kB / 0.9728 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.5246, allocations: 1.565 MB / 0.9743 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.812e-05/0.5246, allocations: 32.44 kB / 0.9744 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.458e-05/0.5247, allocations: 32.28 kB / 0.9744 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006649/0.5254, allocations: 452.7 kB / 0.9748 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.5254, allocations: 0 / 0.9748 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.569e-05/0.5254, allocations: 18.78 kB / 0.9749 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-05/0.5255, allocations: 22.02 kB / 0.9749 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005909/0.5261, allocations: 435 kB / 0.9753 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.5289, allocations: 2.331 MB / 0.9776 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008622/0.5297, allocations: 0.5002 MB / 0.9781 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002554/0.53, allocations: 202 kB / 0.9782 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.53, allocations: 288 / 0.9782 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.635e-05/0.5301, allocations: 42.78 kB / 0.9783 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=34): time 1.282e-06/0.5301, allocations: 0 / 0.9783 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=34): time 0.0008693/0.5309, allocations: 0.6383 MB / 0.9789 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.531, allocations: 55.41 kB / 0.979 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.5338, allocations: 2.579 MB / 0.9815 GB, free: 340 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.716e-05/0.5338, allocations: 37.7 kB / 0.9815 GB, free: 296 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006531/0.5345, allocations: 0.7568 MB / 0.9823 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 7.586e-05/0.5346, allocations: 118.2 kB / 0.9824 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.855e-05/0.5347, allocations: 69.61 kB / 0.9824 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.5348, allocations: 322.5 kB / 0.9827 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.535, allocations: 135.8 kB / 0.9829 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.5352, allocations: 177.4 kB / 0.983 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.5356, allocations: 330.4 kB / 0.9834 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.5356, allocations: 3.984 kB / 0.9834 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006206/0.5362, allocations: 0.5261 MB / 0.9839 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.5362, allocations: 4 kB / 0.9839 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.5363, allocations: 4 kB / 0.9839 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.5363, allocations: 0 / 0.9839 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002899/0.5366, allocations: 79.89 kB / 0.984 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.5366, allocations: 4 kB / 0.984 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003697/0.537, allocations: 27.69 kB / 0.984 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.537, allocations: 15.98 kB / 0.984 GB, free: 13.71 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.0006497/0.5376, allocations: 0.6847 MB / 0.9847 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/0.5378, allocations: 189.6 kB / 0.9849 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002616/0.5381, allocations: 215.2 kB / 0.9851 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.5381, allocations: 4 kB / 0.9851 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.5381, allocations: 0 / 0.9851 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.5381, allocations: 3.984 kB / 0.9851 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001784/0.5399, allocations: 1.582 MB / 0.9866 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.5399, allocations: 4 kB / 0.9866 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002703/0.5402, allocations: 79.83 kB / 0.9867 GB, free: 10.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.5402, allocations: 4 kB / 0.9867 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.5402, allocations: 4 kB / 0.9867 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.5402, allocations: 4 kB / 0.9867 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5402, allocations: 3.938 kB / 0.9867 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006256/0.5409, allocations: 0.6471 MB / 0.9873 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/0.5413, allocations: 374.5 kB / 0.9877 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/0.5415, allocations: 12 kB / 0.9877 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.5419, allocations: 11.98 kB / 0.9877 GB, free: 9.766 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.5419, allocations: 31.91 kB / 0.9877 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.602e-05/0.5419, allocations: 4 kB / 0.9878 GB, free: 9.73 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.002012/0.5439, allocations: 1.847 MB / 0.9896 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.41e-07/0.544, allocations: 0 / 0.9896 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000578/0.5445, allocations: 235.7 kB / 0.9898 GB, free: 7.637 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.0003109/0.5449, allocations: 165.3 kB / 0.9899 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004386/0.5453, allocations: 335.6 kB / 0.9903 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5453, allocations: 0 / 0.9903 GB, free: 7.148 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.5455, allocations: 167.8 kB / 0.9904 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/0.5475, allocations: 0.5694 MB / 0.991 GB, free: 6.418 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003867/0.5514, allocations: 3.793 MB / 0.9947 GB, free: 2.578 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/0.5524, allocations: 1.754 MB / 0.9964 GB, free: 0.7891 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005858/0.553, allocations: 311 kB / 0.9967 GB, free: 492 kB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001563/0.5532, allocations: 83.44 kB / 0.9968 GB, free: 408 kB / 0.7481 GB Notification: Performance of SimCode: time 1.603e-06/0.5532, allocations: 0 / 0.9968 GB, free: 408 kB / 0.7481 GB Notification: Performance of Templates: time 0.03074/0.584, allocations: 21.07 MB / 1.017 GB, free: 11.64 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