Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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.002009/0.002009, allocations: 87.69 kB / 20.24 MB, free: 4.184 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.002099/0.002099, allocations: 157.3 kB / 23.55 MB, free: 0.875 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.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.621 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 3.107/3.107, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] 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.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadExc.conExt.1..T|irRadExc.conExtWin.1..T|irRadExc.conExtWinFra.1..T|irRadExc.conPar_a.1..T|irRadExc.conPar_b.1..T|irRadExc.conBou.1..T|irRadExc.conSurBou.1..T",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|irRadExc.conExt.1..T|irRadExc.conExtWin.1..T|irRadExc.conExtWinFra.1..T|irRadExc.conPar_a.1..T|irRadExc.conPar_b.1..T|irRadExc.conBou.1..T|irRadExc.conSurBou.1..T",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.173e-06/1.173e-06, allocations: 1.094 kB / 0.8109 GB, free: 2.027 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0002347/0.0002359, allocations: 6.891 kB / 0.8109 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.01082/0.01106, allocations: 7.209 MB / 0.8179 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009782/0.02084, allocations: 5.463 MB / 0.8233 GB, free: 5.355 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.02186, allocations: 71.44 kB / 0.8234 GB, free: 5.285 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00469/0.02655, allocations: 1.591 MB / 0.8249 GB, free: 3.688 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.02838, allocations: 0.6615 MB / 0.8255 GB, free: 3.027 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.02949, allocations: 393.8 kB / 0.8259 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003982/0.03347, allocations: 3.074 MB / 0.8289 GB, free: 15.56 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004921/0.03396, allocations: 226.5 kB / 0.8291 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.03638, allocations: 1.504 MB / 0.8306 GB, free: 13.82 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002431/0.03881, allocations: 1.548 MB / 0.8321 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0006915/0.0395, allocations: 196 kB / 0.8323 GB, free: 12.07 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008585/0.04036, allocations: 323.7 kB / 0.8326 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0009007/0.04126, allocations: 0.7322 MB / 0.8333 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.04259, allocations: 0.8028 MB / 0.8341 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00481/0.0474, allocations: 3.825 MB / 0.8379 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.0474, allocations: 4 kB / 0.8379 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.232e-06/0.0474, allocations: 0 / 0.8379 GB, free: 6.379 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.273e-05/0.04743, allocations: 0 / 0.8379 GB, free: 6.379 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.008834/0.05627, allocations: 3.777 MB / 0.8415 GB, free: 2.543 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.0563, allocations: 8.031 kB / 0.8416 GB, free: 2.535 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005407/0.05684, allocations: 291.3 kB / 0.8418 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004218/0.06106, allocations: 1.869 MB / 0.8437 GB, free: 332 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.765e-05/0.06113, allocations: 61.38 kB / 0.8437 GB, free: 272 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.06136, allocations: 91.94 kB / 0.8438 GB, free: 180 kB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009543/0.06231, allocations: 458.2 kB / 0.8442 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.06233, allocations: 3.984 kB / 0.8442 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.0624, allocations: 20 kB / 0.8443 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.06241, allocations: 12 kB / 0.8443 GB, free: 15.69 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.06363, allocations: 0.5035 MB / 0.8448 GB, free: 15.19 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/0.07632, allocations: 4.164 MB / 0.8488 GB, free: 10.98 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001197/0.07752, allocations: 0.4939 MB / 0.8493 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005003/0.07802, allocations: 248.8 kB / 0.8496 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.903e-05/0.07807, allocations: 11.98 kB / 0.8496 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.07811, allocations: 41.39 kB / 0.8496 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=44): time 2.094e-06/0.07811, allocations: 0 / 0.8496 GB, free: 10.17 MB / 0.8073 GB Notification: Performance of matching and sorting (n=44): time 0.01048/0.08858, allocations: 2.539 MB / 0.8521 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.08864, allocations: 55.41 kB / 0.8521 GB, free: 7.551 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005513/0.09415, allocations: 3.405 MB / 0.8555 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0002116/0.09436, allocations: 57.64 kB / 0.8555 GB, free: 4.066 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001611/0.09597, allocations: 1.17 MB / 0.8567 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002347/0.09621, allocations: 182.6 kB / 0.8568 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007753/0.09698, allocations: 373.2 kB / 0.8572 GB, free: 2.336 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0003937/0.09738, allocations: 0.5784 MB / 0.8578 GB, free: 1.75 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.09862, allocations: 0.5622 MB / 0.8583 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001777/0.1004, allocations: 1.023 MB / 0.8593 GB, free: 96 kB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.1028, allocations: 1.194 MB / 0.8605 GB, free: 14.89 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.1028, allocations: 0 / 0.8605 GB, free: 14.89 MB / 0.823 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006325/0.1091, allocations: 2.321 MB / 0.8627 GB, free: 12.55 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.1091, allocations: 8 kB / 0.8627 GB, free: 12.55 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/0.1091, allocations: 4 kB / 0.8627 GB, free: 12.54 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003589/0.1127, allocations: 0.8495 MB / 0.8636 GB, free: 11.69 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.114, allocations: 219.7 kB / 0.8638 GB, free: 11.47 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.1257, allocations: 5.597 MB / 0.8692 GB, free: 5.746 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.1277, allocations: 246.6 kB / 0.8695 GB, free: 5.504 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001752/0.1278, allocations: 40 kB / 0.8695 GB, free: 5.465 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (126): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(11,31,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001185/0.129, allocations: 0.6757 MB / 0.8702 GB, free: 4.777 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/0.1294, allocations: 230.5 kB / 0.8704 GB, free: 4.551 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005149/0.1299, allocations: 210.1 kB / 0.8706 GB, free: 4.34 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.1299, allocations: 4 kB / 0.8706 GB, free: 4.336 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.521e-05/0.1299, allocations: 8 kB / 0.8706 GB, free: 4.328 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1299, allocations: 7.922 kB / 0.8706 GB, free: 4.32 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.1323, allocations: 1.498 MB / 0.8721 GB, free: 2.789 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1323, allocations: 0 / 0.8721 GB, free: 2.789 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.969e-05/0.1324, allocations: 0 / 0.8721 GB, free: 2.789 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003418/0.1358, allocations: 0.7682 MB / 0.8728 GB, free: 2.016 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.1358, allocations: 4 kB / 0.8728 GB, free: 2.012 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/0.1478, allocations: 5.58 MB / 0.8783 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.1478, allocations: 0 / 0.8783 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003965/0.1517, allocations: 1.366 MB / 0.8796 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/0.1528, allocations: 334.3 kB / 0.8799 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002107/0.1531, allocations: 15.97 kB / 0.88 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.1537, allocations: 27.92 kB / 0.88 GB, free: 10.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001676/0.1539, allocations: 35.92 kB / 0.88 GB, free: 10.51 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.78e-05/0.1539, allocations: 12 kB / 0.88 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003698/0.1576, allocations: 2.038 MB / 0.882 GB, free: 8.449 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1576, allocations: 4 kB / 0.882 GB, free: 8.445 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001817/0.1594, allocations: 0.6207 MB / 0.8826 GB, free: 7.824 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(13,29,43.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005098/0.1599, allocations: 166.3 kB / 0.8828 GB, free: 7.664 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.004614/0.1646, allocations: 1.731 MB / 0.8845 GB, free: 5.914 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.1646, allocations: 4 kB / 0.8845 GB, free: 5.91 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.002482/0.167, allocations: 0.8929 MB / 0.8854 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002664/0.1697, allocations: 0.6255 MB / 0.886 GB, free: 4.383 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006331/0.176, allocations: 3.625 MB / 0.8895 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.1776, allocations: 1.214 MB / 0.8907 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007352/0.1784, allocations: 189.3 kB / 0.8909 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003522/0.1787, allocations: 88.5 kB / 0.891 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of SimCode: time 1.292e-06/0.1787, allocations: 0 / 0.891 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of Templates: time 0.07879/0.2575, allocations: 44.05 MB / 0.934 GB, free: 3.723 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.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: 9.429698653053492]