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.001462/0.001462, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001574/0.001574, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.502/1.502, allocations: 177.1 MB / 203.9 MB, free: 5.586 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.899/2.899, allocations: 377.8 MB / 0.6232 GB, free: 8.543 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.583e-06/1.583e-06, allocations: 0 / 0.8109 GB, free: 1.984 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.421e-05/2.579e-05, allocations: 4.562 kB / 0.8109 GB, free: 1.98 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009644/0.009669, allocations: 6.409 MB / 0.8172 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.009144/0.01881, allocations: 5.074 MB / 0.8221 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009253/0.01974, allocations: 75.38 kB / 0.8222 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.004567/0.02431, allocations: 1.602 MB / 0.8238 GB, free: 4.816 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.02599, allocations: 0.6565 MB / 0.8244 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.02714, allocations: 403 kB / 0.8248 GB, free: 3.766 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004087/0.03123, allocations: 3.084 MB / 0.8278 GB, free: 0.6719 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007352/0.03196, allocations: 218.5 kB / 0.828 GB, free: 452 kB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002657/0.03462, allocations: 1.497 MB / 0.8295 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.03695, allocations: 1.54 MB / 0.831 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0004366/0.03738, allocations: 199.9 kB / 0.8312 GB, free: 13.2 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007999/0.03818, allocations: 323.7 kB / 0.8315 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0008441/0.03903, allocations: 0.7321 MB / 0.8322 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.04034, allocations: 0.8028 MB / 0.833 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00522/0.04556, allocations: 3.821 MB / 0.8367 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.04557, allocations: 0 / 0.8367 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.393e-06/0.04557, allocations: 0 / 0.8367 GB, free: 7.516 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.18e-05/0.04561, allocations: 0 / 0.8367 GB, free: 7.516 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.007659/0.05327, allocations: 3.446 MB / 0.8401 GB, free: 4.016 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.05331, allocations: 8.031 kB / 0.8401 GB, free: 4.008 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005473/0.05386, allocations: 291.3 kB / 0.8404 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004079/0.05793, allocations: 2.023 MB / 0.8423 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.05801, allocations: 65.38 kB / 0.8424 GB, free: 1.582 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002289/0.05824, allocations: 95.88 kB / 0.8425 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.05952, allocations: 0.713 MB / 0.8432 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.05954, allocations: 0 / 0.8432 GB, free: 0.7734 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.208e-05/0.0596, allocations: 24 kB / 0.8432 GB, free: 0.75 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.05961, allocations: 8 kB / 0.8432 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001756/0.06137, allocations: 0.968 MB / 0.8442 GB, free: 15.77 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.01107/0.07243, allocations: 3.63 MB / 0.8477 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.07401, allocations: 0.7509 MB / 0.8484 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000762/0.07478, allocations: 472.3 kB / 0.8489 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.143e-05/0.07482, allocations: 8 kB / 0.8489 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.07486, allocations: 38.56 kB / 0.8489 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=44): time 2.254e-06/0.07486, allocations: 0 / 0.8489 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=44): time 0.01149/0.08635, allocations: 3.383 MB / 0.8522 GB, free: 7.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/0.08641, allocations: 63.39 kB / 0.8523 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004632/0.09104, allocations: 2.856 MB / 0.8551 GB, free: 4.484 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003417/0.09138, allocations: 53.64 kB / 0.8551 GB, free: 4.426 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001152/0.09253, allocations: 0.867 MB / 0.856 GB, free: 3.551 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004244/0.09296, allocations: 166.6 kB / 0.8561 GB, free: 3.387 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006996/0.09366, allocations: 331.5 kB / 0.8564 GB, free: 3.059 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002323/0.09389, allocations: 365.9 kB / 0.8568 GB, free: 2.695 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.09615, allocations: 1.37 MB / 0.8581 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002835/0.09898, allocations: 1.854 MB / 0.8599 GB, free: 15.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003237/0.1022, allocations: 1.918 MB / 0.8618 GB, free: 13.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.1022, allocations: 0 / 0.8618 GB, free: 13.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.008894/0.1111, allocations: 4.122 MB / 0.8658 GB, free: 9.34 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.1111, allocations: 4 kB / 0.8659 GB, free: 9.336 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.1112, allocations: 0 / 0.8659 GB, free: 9.336 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003975/0.1151, allocations: 1.155 MB / 0.867 GB, free: 8.18 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.1165, allocations: 227.7 kB / 0.8672 GB, free: 7.957 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0145/0.131, allocations: 7.752 MB / 0.8748 GB, free: 96 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.133, allocations: 258.6 kB / 0.875 GB, free: 15.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.1332, allocations: 43.98 kB / 0.8751 GB, free: 15.8 MB / 0.8386 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.001378/0.1346, allocations: 0.7979 MB / 0.8758 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/0.135, allocations: 234.4 kB / 0.8761 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/0.1356, allocations: 254.1 kB / 0.8763 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1356, allocations: 4 kB / 0.8763 GB, free: 14.5 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.45e-05/0.1356, allocations: 8 kB / 0.8763 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/0.1356, allocations: 3.984 kB / 0.8763 GB, free: 14.49 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001757/0.1374, allocations: 0.9773 MB / 0.8773 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1374, allocations: 0 / 0.8773 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.984e-05/0.1374, allocations: 0 / 0.8773 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003734/0.1412, allocations: 1.074 MB / 0.8783 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/0.1412, allocations: 8 kB / 0.8783 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01426/0.1555, allocations: 7.735 MB / 0.8859 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1555, allocations: 0 / 0.8859 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004503/0.16, allocations: 1.947 MB / 0.8878 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009724/0.1609, allocations: 386.2 kB / 0.8881 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.1611, allocations: 8 kB / 0.8882 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000597/0.1617, allocations: 35.86 kB / 0.8882 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.1619, allocations: 39.91 kB / 0.8882 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.845e-05/0.1619, allocations: 16 kB / 0.8882 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003389/0.1653, allocations: 1.976 MB / 0.8902 GB, free: 128 kB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.1653, allocations: 0 / 0.8902 GB, free: 128 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001858/0.1672, allocations: 0.6207 MB / 0.8908 GB, free: 15.5 MB / 0.8542 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.000479/0.1677, allocations: 161.5 kB / 0.8909 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005776/0.1734, allocations: 2.533 MB / 0.8934 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1734, allocations: 0 / 0.8934 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002547/0.176, allocations: 1.015 MB / 0.8944 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002737/0.1787, allocations: 0.6281 MB / 0.895 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007099/0.1858, allocations: 4.197 MB / 0.8991 GB, free: 6.906 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001745/0.1876, allocations: 1.331 MB / 0.9004 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0009726/0.1885, allocations: 309.4 kB / 0.9007 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/0.1889, allocations: 84.5 kB / 0.9008 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/0.1889, allocations: 0 / 0.9008 GB, free: 5.141 MB / 0.8542 GB Notification: Performance of Templates: time 0.07501/0.2639, allocations: 44.08 MB / 0.9438 GB, free: 9.672 MB / 0.9011 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 400] 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: 8.825405228999443]