Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.004755/0.004755, allocations: 105.2 kB / 15.74 MB, free: 6.02 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.001208/0.001208, allocations: 192 kB / 16.67 MB, free: 5.938 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.144/1.144, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.119/2.119, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 63.89 kB / 1.019 GB, free: 9.305 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.6208, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.007223/0.628, allocations: 7.338 MB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.005422/0.6334, allocations: 5.193 MB / 1.179 GB, free: 7.219 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004917/0.634, allocations: 51.75 kB / 1.179 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003213/0.6372, allocations: 1.69 MB / 1.181 GB, free: 5.473 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0009349/0.6381, allocations: 0.6127 MB / 1.181 GB, free: 4.855 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005656/0.6387, allocations: 229 kB / 1.181 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.6402, allocations: 1.763 MB / 1.183 GB, free: 2.867 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005939/0.6408, allocations: 0.5697 MB / 1.184 GB, free: 2.273 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006143/0.6414, allocations: 0.7114 MB / 1.184 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007813/0.6422, allocations: 0.8084 MB / 1.185 GB, free: 0.7461 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001373/0.6424, allocations: 80 kB / 1.185 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.6428, allocations: 195.8 kB / 1.185 GB, free: 484 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002652/0.6431, allocations: 334.5 kB / 1.186 GB, free: 148 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006185/0.6437, allocations: 0.7845 MB / 1.187 GB, free: 15.35 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.001974/0.6457, allocations: 2.436 MB / 1.189 GB, free: 12.91 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.6457, allocations: 0 / 1.189 GB, free: 12.91 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6457, allocations: 3.938 kB / 1.189 GB, free: 12.9 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.51e-05/0.6457, allocations: 0 / 1.189 GB, free: 12.9 MB / 0.92 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.002601/0.6483, allocations: 2.329 MB / 1.191 GB, free: 10.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.6484, allocations: 12.91 kB / 1.191 GB, free: 10.49 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.6486, allocations: 211.5 kB / 1.191 GB, free: 10.29 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002288/0.6509, allocations: 1.698 MB / 1.193 GB, free: 8.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.6509, allocations: 25 kB / 1.193 GB, free: 8.496 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.291e-05/0.651, allocations: 40 kB / 1.193 GB, free: 8.457 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006298/0.6516, allocations: 450.3 kB / 1.194 GB, free: 8.012 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.426e-05/0.6516, allocations: 0 / 1.194 GB, free: 8.012 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.6517, allocations: 12 kB / 1.194 GB, free: 8 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.336e-05/0.6517, allocations: 24.98 kB / 1.194 GB, free: 7.977 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005715/0.6523, allocations: 427.6 kB / 1.194 GB, free: 7.559 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.6551, allocations: 2.296 MB / 1.196 GB, free: 5.113 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008678/0.656, allocations: 0.4999 MB / 1.197 GB, free: 4.605 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/0.6563, allocations: 207.6 kB / 1.197 GB, free: 4.402 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.6563, allocations: 8.281 kB / 1.197 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.6563, allocations: 30.84 kB / 1.197 GB, free: 4.355 MB / 0.92 GB Notification: Performance of pre-optimization done (n=34): time 1.412e-06/0.6563, allocations: 0 / 1.197 GB, free: 4.355 MB / 0.92 GB Notification: Performance of matching and sorting (n=34): time 0.0008516/0.6572, allocations: 0.6663 MB / 1.198 GB, free: 3.684 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.6572, allocations: 55.41 kB / 1.198 GB, free: 3.617 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.6599, allocations: 2.552 MB / 1.2 GB, free: 1.035 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.66, allocations: 33.7 kB / 1.2 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006513/0.6606, allocations: 0.7724 MB / 1.201 GB, free: 224 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 7.539e-05/0.6607, allocations: 119 kB / 1.201 GB, free: 104 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.6608, allocations: 73.64 kB / 1.201 GB, free: 24 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.6609, allocations: 318.5 kB / 1.201 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.6611, allocations: 139.8 kB / 1.202 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002081/0.6613, allocations: 170.8 kB / 1.202 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003877/0.6617, allocations: 329.6 kB / 1.202 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.6617, allocations: 0 / 1.202 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006089/0.6624, allocations: 0.539 MB / 1.203 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.6624, allocations: 8 kB / 1.203 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.6624, allocations: 3.984 kB / 1.203 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.6624, allocations: 0 / 1.203 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.6627, allocations: 75.91 kB / 1.203 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.6627, allocations: 7.984 kB / 1.203 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002983/0.663, allocations: 27.73 kB / 1.203 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.6631, allocations: 12 kB / 1.203 GB, free: 14.39 MB / 0.9356 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.0006444/0.6637, allocations: 0.6886 MB / 1.203 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001794/0.6639, allocations: 198.7 kB / 1.204 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.6642, allocations: 215.2 kB / 1.204 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.6642, allocations: 8 kB / 1.204 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6642, allocations: 0 / 1.204 GB, free: 13.28 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6642, allocations: 3.984 kB / 1.204 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.666, allocations: 1.558 MB / 1.205 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.666, allocations: 8.094 kB / 1.205 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.6663, allocations: 75.89 kB / 1.205 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.369e-06/0.6663, allocations: 4 kB / 1.205 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.6663, allocations: 8 kB / 1.205 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.6663, allocations: 0 / 1.205 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.636e-06/0.6663, allocations: 11.81 kB / 1.205 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/0.667, allocations: 0.6525 MB / 1.206 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005902/0.6676, allocations: 379.6 kB / 1.206 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.6677, allocations: 8 kB / 1.206 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.6681, allocations: 12 kB / 1.206 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.94e-05/0.6681, allocations: 19.91 kB / 1.206 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.6681, allocations: 12 kB / 1.206 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002017/0.6702, allocations: 1.831 MB / 1.208 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6702, allocations: 4 kB / 1.208 GB, free: 8.566 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005254/0.6707, allocations: 231.8 kB / 1.208 GB, free: 8.34 MB / 0.9356 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.0003314/0.671, allocations: 153 kB / 1.209 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004601/0.6715, allocations: 341.1 kB / 1.209 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.6715, allocations: 0 / 1.209 GB, free: 7.855 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.6717, allocations: 172.6 kB / 1.209 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001864/0.6736, allocations: 0.622 MB / 1.21 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003816/0.6774, allocations: 3.399 MB / 1.213 GB, free: 3.629 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/0.6786, allocations: 1.762 MB / 1.215 GB, free: 1.832 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0005519/0.6791, allocations: 315.2 kB / 1.215 GB, free: 1.52 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.6793, allocations: 79.44 kB / 1.215 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of SimCode: time 3.81e-07/0.6793, allocations: 0 / 1.215 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of Templates: time 0.02946/0.7087, allocations: 21.88 MB / 1.237 GB, free: 11.89 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches