Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001218/0.001218, allocations: 76.5 kB / 19.93 MB, free: 4.621 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.001207/0.001207, allocations: 178.2 kB / 23.21 MB, free: 1.344 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 0.896/0.896, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.617/1.617, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.9518 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.243e-05, allocations: 2.281 kB / 0.9518 GB, free: 2.883 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.005276/0.005299, allocations: 6.409 MB / 0.9581 GB, free: 12.43 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.005167/0.01047, allocations: 5.066 MB / 0.963 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006447/0.01111, allocations: 75.38 kB / 0.9631 GB, free: 7.273 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.01372, allocations: 1.601 MB / 0.9647 GB, free: 5.664 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007773/0.0145, allocations: 0.6589 MB / 0.9653 GB, free: 5 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006171/0.01511, allocations: 402.2 kB / 0.9657 GB, free: 4.609 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.00192/0.01703, allocations: 3.073 MB / 0.9687 GB, free: 1.523 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003004/0.01733, allocations: 218.5 kB / 0.9689 GB, free: 1.289 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.01851, allocations: 1.5 MB / 0.9704 GB, free: 15.79 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.01955, allocations: 1.54 MB / 0.9719 GB, free: 14.24 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 0.0001973/0.01974, allocations: 196 kB / 0.972 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004025/0.02015, allocations: 327.7 kB / 0.9724 GB, free: 13.73 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 0.0003827/0.02053, allocations: 0.7283 MB / 0.9731 GB, free: 13 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 0.0005714/0.0211, allocations: 0.8028 MB / 0.9739 GB, free: 12.2 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.00241/0.02351, allocations: 3.821 MB / 0.9776 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.02351, allocations: 0 / 0.9776 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.492e-06/0.02351, allocations: 0 / 0.9776 GB, free: 8.363 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 2.15e-05/0.02354, allocations: 0 / 0.9776 GB, free: 8.363 MB / 0.9323 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.003667/0.0272, allocations: 3.45 MB / 0.981 GB, free: 4.863 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.02724, allocations: 8.031 kB / 0.981 GB, free: 4.855 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004049/0.02765, allocations: 259.3 kB / 0.9812 GB, free: 4.602 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001985/0.02963, allocations: 1.929 MB / 0.9831 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/0.02966, allocations: 65.38 kB / 0.9832 GB, free: 2.551 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.02979, allocations: 91.94 kB / 0.9832 GB, free: 2.461 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006907/0.03048, allocations: 0.7169 MB / 0.9839 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.03049, allocations: 0 / 0.9839 GB, free: 1.738 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.343e-05/0.03052, allocations: 20 kB / 0.984 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.03053, allocations: 8 kB / 0.984 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009189/0.03145, allocations: 0.9719 MB / 0.9849 GB, free: 0.7383 MB / 0.9323 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.005134/0.03658, allocations: 3.618 MB / 0.9885 GB, free: 13.09 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008143/0.0374, allocations: 0.747 MB / 0.9892 GB, free: 12.33 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003938/0.03779, allocations: 470.2 kB / 0.9896 GB, free: 11.87 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.03782, allocations: 11.98 kB / 0.9896 GB, free: 11.86 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.932e-05/0.03784, allocations: 34.56 kB / 0.9897 GB, free: 11.81 MB / 0.948 GB Notification: Performance of pre-optimization done (n=44): time 2.064e-06/0.03784, allocations: 0 / 0.9897 GB, free: 11.81 MB / 0.948 GB Notification: Performance of matching and sorting (n=44): time 0.005167/0.04301, allocations: 3.375 MB / 0.993 GB, free: 8.426 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.04305, allocations: 55.41 kB / 0.993 GB, free: 8.359 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/0.04551, allocations: 2.86 MB / 0.9958 GB, free: 5.484 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.52e-05/0.0456, allocations: 53.7 kB / 0.9959 GB, free: 5.426 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005845/0.04619, allocations: 0.8631 MB / 0.9967 GB, free: 4.555 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.04629, allocations: 170.6 kB / 0.9969 GB, free: 4.387 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003673/0.04666, allocations: 327.6 kB / 0.9972 GB, free: 4.059 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.04676, allocations: 369.8 kB / 0.9975 GB, free: 3.691 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.048, allocations: 1.37 MB / 0.9989 GB, free: 2.32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/0.04944, allocations: 1.846 MB / 1.001 GB, free: 416 kB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001841/0.05128, allocations: 1.926 MB / 1.003 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.05129, allocations: 0 / 1.003 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.004082/0.05537, allocations: 4.064 MB / 1.007 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.05539, allocations: 8 kB / 1.007 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.0554, allocations: 4.031 kB / 1.007 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.05709, allocations: 1.108 MB / 1.008 GB, free: 9.27 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005786/0.05767, allocations: 227.7 kB / 1.008 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007348/0.06501, allocations: 7.716 MB / 1.015 GB, free: 1.219 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009056/0.06592, allocations: 258.6 kB / 1.016 GB, free: 0.9648 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/0.06601, allocations: 44 kB / 1.016 GB, free: 0.9219 MB / 0.9636 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.0009599/0.06697, allocations: 0.8016 MB / 1.016 GB, free: 112 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.06712, allocations: 218.7 kB / 1.017 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002245/0.06734, allocations: 253.9 kB / 1.017 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.06735, allocations: 4 kB / 1.017 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/0.06737, allocations: 8 kB / 1.017 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.06737, allocations: 0 / 1.017 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008025/0.06818, allocations: 0.9773 MB / 1.018 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.06818, allocations: 0 / 1.018 GB, free: 14.62 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.539e-05/0.06821, allocations: 7.984 kB / 1.018 GB, free: 14.61 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.06973, allocations: 1.019 MB / 1.019 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.326e-05/0.06976, allocations: 11.94 kB / 1.019 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006889/0.07664, allocations: 7.684 MB / 1.026 GB, free: 5.785 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.07665, allocations: 4 kB / 1.026 GB, free: 5.781 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.0787, allocations: 1.93 MB / 1.028 GB, free: 3.828 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004366/0.07913, allocations: 370.3 kB / 1.029 GB, free: 3.465 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.819e-05/0.07923, allocations: 8 kB / 1.029 GB, free: 3.457 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002905/0.07952, allocations: 35.86 kB / 1.029 GB, free: 3.422 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.0796, allocations: 39.91 kB / 1.029 GB, free: 3.383 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.07962, allocations: 12 kB / 1.029 GB, free: 3.371 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00195/0.08157, allocations: 1.984 MB / 1.031 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.1e-08/0.08157, allocations: 0 / 1.031 GB, free: 1.379 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001068/0.08264, allocations: 0.613 MB / 1.031 GB, free: 0.7656 MB / 0.9792 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.0003736/0.08301, allocations: 179.7 kB / 1.031 GB, free: 0.5938 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002822/0.08583, allocations: 2.518 MB / 1.034 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.08584, allocations: 4 kB / 1.034 GB, free: 14.05 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001139/0.08698, allocations: 1.005 MB / 1.035 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.08827, allocations: 0.6221 MB / 1.035 GB, free: 12.43 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/0.09214, allocations: 3.973 MB / 1.039 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007946/0.09293, allocations: 1.209 MB / 1.041 GB, free: 7.18 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002364/0.09317, allocations: 84.5 kB / 1.041 GB, free: 7.098 MB / 0.9948 GB Notification: Performance of SimCode: time 8.92e-07/0.09317, allocations: 0 / 1.041 GB, free: 7.098 MB / 0.9948 GB Notification: Performance of Templates: time 0.5011/0.5943, allocations: 46.1 MB / 1.086 GB, free: 121.7 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile [Timeout 300] (rm -f Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.781172825954854]