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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 79.73 kB / 19.76 MB, free: 2.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00227/0.00227, allocations: 157.5 kB / 23.01 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.859/2.859, allocations: 394.2 MB / 0.6387 GB, free: 11.94 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002279/0.002279, allocations: 71.88 kB / 1.009 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.866/0.8683, allocations: 181.8 MB / 1.187 GB, free: 16.26 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.00803/0.8763, allocations: 6.507 MB / 1.193 GB, free: 11.92 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.007691/0.884, allocations: 4.723 MB / 1.198 GB, free: 8.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.8859, allocations: 72.81 kB / 1.198 GB, free: 8.645 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.005537/0.8915, allocations: 1.581 MB / 1.199 GB, free: 7.969 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002534/0.894, allocations: 0.62 MB / 1.2 GB, free: 7.551 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.8952, allocations: 236.8 kB / 1.2 GB, free: 7.434 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003277/0.8985, allocations: 1.756 MB / 1.202 GB, free: 6.617 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007027/0.8992, allocations: 229.9 kB / 1.202 GB, free: 6.492 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.901, allocations: 0.746 MB / 1.203 GB, free: 6.168 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.9028, allocations: 0.8259 MB / 1.204 GB, free: 5.785 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005052/0.9033, allocations: 79.84 kB / 1.204 GB, free: 5.785 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.9045, allocations: 203 kB / 1.204 GB, free: 5.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0008345/0.9054, allocations: 335 kB / 1.204 GB, free: 5.574 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.001685/0.9071, allocations: 0.5806 MB / 1.205 GB, free: 5.27 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/0.9105, allocations: 2.458 MB / 1.207 GB, free: 4.328 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.9105, allocations: 4 kB / 1.207 GB, free: 4.324 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.964e-06/0.9105, allocations: 0 / 1.207 GB, free: 4.324 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.859e-05/0.9106, allocations: 0 / 1.207 GB, free: 4.324 MB / 1.076 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.003848/0.9144, allocations: 2.256 MB / 1.209 GB, free: 2.84 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.9145, allocations: 13.72 kB / 1.209 GB, free: 2.836 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.9147, allocations: 212.8 kB / 1.21 GB, free: 2.719 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/0.9176, allocations: 1.616 MB / 1.211 GB, free: 1.871 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/0.9176, allocations: 24.69 kB / 1.211 GB, free: 1.863 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.978e-05/0.9177, allocations: 36.34 kB / 1.211 GB, free: 1.852 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007548/0.9184, allocations: 479 kB / 1.212 GB, free: 1.656 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.9184, allocations: 3.938 kB / 1.212 GB, free: 1.652 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.623e-05/0.9185, allocations: 12.41 kB / 1.212 GB, free: 1.645 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.18e-05/0.9185, allocations: 21.22 kB / 1.212 GB, free: 1.645 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000608/0.9191, allocations: 423.2 kB / 1.212 GB, free: 1.531 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.9219, allocations: 1.676 MB / 1.214 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009706/0.9229, allocations: 496.6 kB / 1.214 GB, free: 0.6602 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.9232, allocations: 196.8 kB / 1.214 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.755e-05/0.9232, allocations: 5.016 kB / 1.214 GB, free: 0.5938 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.775e-05/0.9232, allocations: 41.69 kB / 1.214 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.9232, allocations: 0 / 1.214 GB, free: 0.5469 MB / 1.076 GB Notification: Performance of matching and sorting (n=34): time 0.0009688/0.9242, allocations: 0.6419 MB / 1.215 GB, free: 288 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.241e-05/0.9242, allocations: 55.75 kB / 1.215 GB, free: 224 kB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003698/0.9279, allocations: 2.458 MB / 1.218 GB, free: 15.41 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.566e-05/0.928, allocations: 35.17 kB / 1.218 GB, free: 15.38 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008247/0.9288, allocations: 0.761 MB / 1.218 GB, free: 14.78 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.9289, allocations: 127.1 kB / 1.218 GB, free: 14.68 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.929, allocations: 72.39 kB / 1.218 GB, free: 14.64 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.9292, allocations: 317.8 kB / 1.219 GB, free: 14.33 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002315/0.9294, allocations: 134.5 kB / 1.219 GB, free: 14.29 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.9297, allocations: 205.3 kB / 1.219 GB, free: 14.2 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.9302, allocations: 330.8 kB / 1.219 GB, free: 14.08 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.9302, allocations: 0 / 1.219 GB, free: 14.08 MB / 1.092 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008659/0.9311, allocations: 0.5279 MB / 1.22 GB, free: 13.85 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.9311, allocations: 13.94 kB / 1.22 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.9311, allocations: 0 / 1.22 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.9311, allocations: 2.828 kB / 1.22 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.9315, allocations: 75.94 kB / 1.22 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.9315, allocations: 2.172 kB / 1.22 GB, free: 13.84 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000531/0.932, allocations: 21.81 kB / 1.22 GB, free: 13.82 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.932, allocations: 7.125 kB / 1.22 GB, free: 13.82 MB / 1.092 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.0009569/0.933, allocations: 0.69 MB / 1.221 GB, free: 13.52 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.9333, allocations: 194.6 kB / 1.221 GB, free: 13.41 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.9336, allocations: 209.3 kB / 1.221 GB, free: 13.33 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.9336, allocations: 7.656 kB / 1.221 GB, free: 13.33 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.9336, allocations: 0 / 1.221 GB, free: 13.33 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.9336, allocations: 1.781 kB / 1.221 GB, free: 13.33 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.936, allocations: 1.391 MB / 1.222 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.936, allocations: 1.531 kB / 1.222 GB, free: 12.69 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003148/0.9364, allocations: 78.12 kB / 1.223 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.9364, allocations: 2.188 kB / 1.223 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.9364, allocations: 8.078 kB / 1.223 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.9364, allocations: 2.312 kB / 1.223 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.9364, allocations: 5.125 kB / 1.223 GB, free: 12.67 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.9373, allocations: 0.6483 MB / 1.223 GB, free: 12.3 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007026/0.938, allocations: 295 kB / 1.223 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001555/0.9382, allocations: 6.922 kB / 1.223 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004008/0.9386, allocations: 9.844 kB / 1.224 GB, free: 12.14 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.9386, allocations: 25.19 kB / 1.224 GB, free: 12.13 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.9387, allocations: 11.12 kB / 1.224 GB, free: 12.12 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002666/0.9413, allocations: 1.765 MB / 1.225 GB, free: 11.52 MB / 1.092 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9413, allocations: 0 / 1.225 GB, free: 11.52 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007556/0.9421, allocations: 238.1 kB / 1.225 GB, free: 11.49 MB / 1.092 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.000427/0.9425, allocations: 176 kB / 1.226 GB, free: 11.36 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005836/0.9431, allocations: 321.4 kB / 1.226 GB, free: 11.28 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9431, allocations: 1.188 kB / 1.226 GB, free: 11.28 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002352/0.9433, allocations: 161.7 kB / 1.226 GB, free: 11.23 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.9456, allocations: 0.6049 MB / 1.227 GB, free: 11.02 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005526/0.9511, allocations: 3.387 MB / 1.23 GB, free: 9.5 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001469/0.9526, allocations: 1.18 MB / 1.231 GB, free: 9.16 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009523/0.9535, allocations: 296.8 kB / 1.231 GB, free: 9.129 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.9538, allocations: 79.28 kB / 1.232 GB, free: 9.117 MB / 1.092 GB Notification: Performance of SimCode: time 9.72e-07/0.9538, allocations: 0 / 1.232 GB, free: 9.117 MB / 1.092 GB Notification: Performance of Templates: time 0.04115/0.9949, allocations: 22.12 MB / 1.253 GB, free: 15.26 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (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=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.990274159004912]