Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001424/0.001424, allocations: 88.39 kB / 20.23 MB, free: 4.172 MB / 18.57 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.001566/0.001566, allocations: 161.3 kB / 23.54 MB, free: 0.8633 MB / 18.57 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.47/1.47, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.824/2.824, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0.8109 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.335e-05/2.488e-05, allocations: 2.312 kB / 0.8109 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution): time 0.01006/0.01008, allocations: 6.51 MB / 0.8172 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008446/0.01853, allocations: 4.746 MB / 0.8219 GB, free: 5.637 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.01965, allocations: 74.28 kB / 0.822 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.004717/0.02436, allocations: 1.596 MB / 0.8235 GB, free: 3.965 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001793/0.02616, allocations: 0.6369 MB / 0.8241 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008687/0.02703, allocations: 230.1 kB / 0.8244 GB, free: 3.105 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.002687/0.02971, allocations: 1.844 MB / 0.8262 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.03024, allocations: 236 kB / 0.8264 GB, free: 1.008 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.03167, allocations: 0.9863 MB / 0.8273 GB, free: 20 kB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.03269, allocations: 0.6856 MB / 0.828 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.03286, allocations: 81.56 kB / 0.8281 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005211/0.03338, allocations: 203.8 kB / 0.8283 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004025/0.03378, allocations: 346.4 kB / 0.8286 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0006316/0.03441, allocations: 458.7 kB / 0.8291 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002938/0.03735, allocations: 2.375 MB / 0.8314 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.03735, allocations: 0 / 0.8314 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.232e-06/0.03736, allocations: 0 / 0.8314 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.488e-05/0.03738, allocations: 0 / 0.8314 GB, free: 11.88 MB / 0.7448 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.003682/0.04106, allocations: 2.24 MB / 0.8336 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.0411, allocations: 8.031 kB / 0.8336 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003985/0.0415, allocations: 243.5 kB / 0.8338 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003035/0.04453, allocations: 1.708 MB / 0.8355 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.04457, allocations: 29.38 kB / 0.8355 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.702e-05/0.04465, allocations: 39.92 kB / 0.8355 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008361/0.04548, allocations: 472 kB / 0.836 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.0455, allocations: 0 / 0.836 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.05e-05/0.04554, allocations: 12 kB / 0.836 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.093e-05/0.04559, allocations: 24.98 kB / 0.836 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000765/0.04635, allocations: 423.6 kB / 0.8364 GB, free: 6.59 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/0.04951, allocations: 1.684 MB / 0.8381 GB, free: 4.867 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.05063, allocations: 492.5 kB / 0.8385 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003302/0.05096, allocations: 192.8 kB / 0.8387 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.05098, allocations: 4.281 kB / 0.8387 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.333e-05/0.05102, allocations: 50.77 kB / 0.8388 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=34): time 1.523e-06/0.05102, allocations: 0 / 0.8388 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.001156/0.05218, allocations: 0.6548 MB / 0.8394 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.05223, allocations: 55.41 kB / 0.8395 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003664/0.05589, allocations: 2.466 MB / 0.8419 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/0.05593, allocations: 29.7 kB / 0.8419 GB, free: 0.8633 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009295/0.05686, allocations: 0.7562 MB / 0.8426 GB, free: 104 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001398/0.057, allocations: 127.1 kB / 0.8428 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.05714, allocations: 73.5 kB / 0.8428 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.05732, allocations: 322 kB / 0.8431 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.05757, allocations: 135.9 kB / 0.8433 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003157/0.05789, allocations: 204.8 kB / 0.8435 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005453/0.05843, allocations: 326.2 kB / 0.8438 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.05844, allocations: 4 kB / 0.8438 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008885/0.05933, allocations: 0.5392 MB / 0.8443 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.05934, allocations: 11.69 kB / 0.8443 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.05935, allocations: 0 / 0.8443 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.05937, allocations: 0 / 0.8443 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.05973, allocations: 75.95 kB / 0.8444 GB, free: 14.28 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.05974, allocations: 3.938 kB / 0.8444 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003348/0.06008, allocations: 15.89 kB / 0.8444 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.0601, allocations: 16.03 kB / 0.8444 GB, free: 14.24 MB / 0.7605 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.0009228/0.06103, allocations: 0.6809 MB / 0.8451 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002729/0.0613, allocations: 210.6 kB / 0.8453 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003497/0.06165, allocations: 206.6 kB / 0.8455 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.06165, allocations: 4 kB / 0.8455 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.259e-06/0.06166, allocations: 0 / 0.8455 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.06167, allocations: 3.984 kB / 0.8455 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/0.06392, allocations: 1.394 MB / 0.8469 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.06392, allocations: 96 / 0.8469 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003357/0.06426, allocations: 83.89 kB / 0.8469 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.06426, allocations: 0 / 0.8469 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.06428, allocations: 8 kB / 0.8469 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.06429, allocations: 7.938 kB / 0.8469 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.06429, allocations: 0 / 0.8469 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000937/0.06523, allocations: 0.6472 MB / 0.8476 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006495/0.06588, allocations: 310.5 kB / 0.8479 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.06603, allocations: 8 kB / 0.8479 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.06643, allocations: 8 kB / 0.8479 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.06648, allocations: 23.95 kB / 0.8479 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.0665, allocations: 12 kB / 0.8479 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002792/0.0693, allocations: 1.763 MB / 0.8496 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1e-07/0.0693, allocations: 0 / 0.8496 GB, free: 8.773 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007131/0.07001, allocations: 239.7 kB / 0.8499 GB, free: 8.539 MB / 0.7605 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.0004792/0.07049, allocations: 163 kB / 0.85 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006237/0.07111, allocations: 323.6 kB / 0.8503 GB, free: 8.059 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.07111, allocations: 8 kB / 0.8503 GB, free: 8.051 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0003765/0.07149, allocations: 159.8 kB / 0.8505 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/0.07381, allocations: 0.5912 MB / 0.8511 GB, free: 7.324 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006163/0.07997, allocations: 3.405 MB / 0.8544 GB, free: 3.859 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001615/0.08159, allocations: 1.166 MB / 0.8555 GB, free: 2.652 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0009515/0.08254, allocations: 306.6 kB / 0.8558 GB, free: 2.348 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002744/0.08281, allocations: 80.5 kB / 0.8559 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of SimCode: time 1.152e-06/0.08281, allocations: 0 / 0.8559 GB, free: 2.27 MB / 0.7605 GB Notification: Performance of Templates: time 0.04205/0.1249, allocations: 21.96 MB / 0.8774 GB, free: 12.78 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationGainDistribution_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationGainDistribution.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.9304924150928855]