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.001538/0.001538, allocations: 101.8 kB / 16.41 MB, free: 6.512 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.001747/0.001747, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.369/1.369, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.528/2.528, allocations: 461.9 MB / 0.7354 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 67.91 kB / 1.055 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8945/0.896, allocations: 157.4 MB / 1.209 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.01012/0.9062, allocations: 7.333 MB / 1.216 GB, free: 6.266 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008776/0.915, allocations: 5.19 MB / 1.221 GB, free: 1.059 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002125/0.9172, allocations: 51.75 kB / 1.221 GB, free: 1.008 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.005714/0.9229, allocations: 1.679 MB / 1.222 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.002705/0.9257, allocations: 0.6049 MB / 1.223 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.927, allocations: 225.1 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003149/0.9302, allocations: 1.759 MB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.9312, allocations: 0.593 MB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001351/0.9326, allocations: 0.7036 MB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001517/0.9341, allocations: 0.8006 MB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0004153/0.9346, allocations: 84 kB / 1.227 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009199/0.9355, allocations: 199.8 kB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0005792/0.9361, allocations: 322.6 kB / 1.228 GB, free: 10 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.00148/0.9376, allocations: 0.7921 MB / 1.228 GB, free: 9.207 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003503/0.9411, allocations: 2.425 MB / 1.231 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9411, allocations: 4 kB / 1.231 GB, free: 6.77 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.126e-06/0.9411, allocations: 3.984 kB / 1.231 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.732e-05/0.9412, allocations: 0 / 1.231 GB, free: 6.766 MB / 0.9512 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.004758/0.946, allocations: 2.253 MB / 1.233 GB, free: 4.445 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.946, allocations: 11.97 kB / 1.233 GB, free: 4.434 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002736/0.9463, allocations: 206.3 kB / 1.233 GB, free: 4.23 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002707/0.949, allocations: 1.672 MB / 1.235 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.297e-05/0.9491, allocations: 25 kB / 1.235 GB, free: 2.465 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.509e-05/0.9491, allocations: 39.98 kB / 1.235 GB, free: 2.426 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006954/0.9498, allocations: 450.3 kB / 1.235 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.9499, allocations: 0 / 1.235 GB, free: 1.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.9499, allocations: 12 kB / 1.235 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.877e-05/0.95, allocations: 24.98 kB / 1.235 GB, free: 1.945 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005917/0.9506, allocations: 423.7 kB / 1.236 GB, free: 1.531 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003309/0.9539, allocations: 2.303 MB / 1.238 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.9549, allocations: 0.4969 MB / 1.238 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.9552, allocations: 209.3 kB / 1.239 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.9553, allocations: 12.22 kB / 1.239 GB, free: 14.35 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.9553, allocations: 30.84 kB / 1.239 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 2.845e-06/0.9553, allocations: 4 kB / 1.239 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.001094/0.9564, allocations: 0.6375 MB / 1.239 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.9565, allocations: 63.39 kB / 1.239 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003271/0.9598, allocations: 2.548 MB / 1.242 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.9598, allocations: 33.69 kB / 1.242 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007516/0.9606, allocations: 0.7644 MB / 1.243 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 9.627e-05/0.9607, allocations: 118.2 kB / 1.243 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.9608, allocations: 69.59 kB / 1.243 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.961, allocations: 322.5 kB / 1.243 GB, free: 9.691 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.9612, allocations: 139.9 kB / 1.243 GB, free: 9.555 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.9614, allocations: 177.4 kB / 1.243 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.9619, allocations: 314.5 kB / 1.244 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.9619, allocations: 4.031 kB / 1.244 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007433/0.9627, allocations: 0.5378 MB / 1.244 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.9627, allocations: 4 kB / 1.244 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.9627, allocations: 0 / 1.244 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.9627, allocations: 0 / 1.244 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.9631, allocations: 87.89 kB / 1.244 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.9631, allocations: 0 / 1.244 GB, free: 8.426 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003861/0.9635, allocations: 27.69 kB / 1.244 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.9635, allocations: 4 kB / 1.244 GB, free: 8.395 MB / 0.9669 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.0007279/0.9642, allocations: 0.6964 MB / 1.245 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002/0.9644, allocations: 185.6 kB / 1.245 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.9647, allocations: 223.2 kB / 1.245 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.9647, allocations: 4 kB / 1.245 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.056e-06/0.9648, allocations: 0 / 1.245 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.9648, allocations: 0 / 1.245 GB, free: 7.277 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002102/0.9669, allocations: 1.566 MB / 1.247 GB, free: 5.641 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.9669, allocations: 3.984 kB / 1.247 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002818/0.9672, allocations: 75.91 kB / 1.247 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.9672, allocations: 0 / 1.247 GB, free: 5.562 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.9672, allocations: 8 kB / 1.247 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.9672, allocations: 3.984 kB / 1.247 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/0.9672, allocations: 7.938 kB / 1.247 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006974/0.9679, allocations: 0.6389 MB / 1.248 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/0.9685, allocations: 370.5 kB / 1.248 GB, free: 4.492 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.9686, allocations: 8 kB / 1.248 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003688/0.969, allocations: 11.98 kB / 1.248 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.413e-05/0.9691, allocations: 19.92 kB / 1.248 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.9691, allocations: 12 kB / 1.248 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.002277/0.9714, allocations: 1.835 MB / 1.25 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9714, allocations: 0 / 1.25 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0006495/0.972, allocations: 219.8 kB / 1.25 GB, free: 2.375 MB / 0.9669 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.0004664/0.9725, allocations: 177.8 kB / 1.25 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.973, allocations: 335.6 kB / 1.251 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.9731, allocations: 4 kB / 1.251 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002139/0.9733, allocations: 171.8 kB / 1.251 GB, free: 1.703 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/0.9753, allocations: 0.6243 MB / 1.251 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/0.98, allocations: 3.14 MB / 1.254 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001135/0.9811, allocations: 1.622 MB / 1.256 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/0.9814, allocations: 83.44 kB / 1.256 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of SimCode: time 6.92e-07/0.9814, allocations: 0 / 1.256 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.03917/1.021, allocations: 24.79 MB / 1.28 GB, free: 3.531 MB / 0.9981 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/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