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.0009316/0.0009316, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.001734/0.001734, allocations: 171.1 kB / 24.87 MB, free: 8.891 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.9208/0.9208, allocations: 177.2 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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 1.838/1.838, allocations: 377.9 MB / 0.6247 GB, free: 8.41 MB / 0.5886 GB " [Timeout remaining time 178] 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.[0-9,]+..T|irRadExc.conExtWin.[0-9,]+..T|irRadExc.conExtWinFra.[0-9,]+..T|irRadExc.conPar_a.[0-9,]+..T|irRadExc.conPar_b.[0-9,]+..T|irRadExc.conBou.[0-9,]+..T|irRadExc.conSurBou.[0-9,]+..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.[0-9,]+..T|irRadExc.conExtWin.[0-9,]+..T|irRadExc.conExtWinFra.[0-9,]+..T|irRadExc.conPar_a.[0-9,]+..T|irRadExc.conPar_b.[0-9,]+..T|irRadExc.conBou.[0-9,]+..T|irRadExc.conSurBou.[0-9,]+..T",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 0.8129 GB, free: 1.367 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.838e-06/1.104e-05, allocations: 3.078 kB / 0.8129 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.00557/0.005581, allocations: 7.023 MB / 0.8197 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005578/0.01116, allocations: 5.402 MB / 0.825 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006506/0.01181, allocations: 71.44 kB / 0.8251 GB, free: 4.863 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002629/0.01444, allocations: 1.606 MB / 0.8266 GB, free: 3.254 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.000826/0.01526, allocations: 0.672 MB / 0.8273 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006553/0.01592, allocations: 399.7 kB / 0.8277 GB, free: 2.191 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.01784, allocations: 3.078 MB / 0.8307 GB, free: 15.11 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002948/0.01813, allocations: 226.5 kB / 0.8309 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001268/0.0194, allocations: 1.532 MB / 0.8324 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.02055, allocations: 1.544 MB / 0.8339 GB, free: 11.79 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.02081, allocations: 196 kB / 0.8341 GB, free: 11.59 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004285/0.02124, allocations: 319.7 kB / 0.8344 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0004401/0.02168, allocations: 0.7283 MB / 0.8351 GB, free: 10.55 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0006317/0.02231, allocations: 0.8028 MB / 0.8359 GB, free: 9.746 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.02408, allocations: 2.769 MB / 0.8386 GB, free: 6.969 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.02408, allocations: 4 kB / 0.8386 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of FrontEnd: time 5.51e-07/0.02408, allocations: 0 / 0.8386 GB, free: 6.965 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.57e-05/0.02411, allocations: 0 / 0.8386 GB, free: 6.965 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.003558/0.02767, allocations: 3.516 MB / 0.842 GB, free: 3.391 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/0.0277, allocations: 12.03 kB / 0.842 GB, free: 3.379 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002775/0.02797, allocations: 287.3 kB / 0.8423 GB, free: 3.098 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001462/0.02944, allocations: 1.56 MB / 0.8438 GB, free: 1.48 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.02947, allocations: 61.38 kB / 0.8439 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.02959, allocations: 92.12 kB / 0.844 GB, free: 1.332 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.02992, allocations: 286.4 kB / 0.8443 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.02993, allocations: 0 / 0.8443 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/0.02996, allocations: 20 kB / 0.8443 GB, free: 1.027 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.02996, allocations: 12 kB / 0.8443 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.0303, allocations: 202.7 kB / 0.8445 GB, free: 0.8164 MB / 0.7917 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.004444/0.03475, allocations: 2.893 MB / 0.8473 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004236/0.03517, allocations: 299.8 kB / 0.8476 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.0353, allocations: 122.2 kB / 0.8477 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.448e-05/0.03533, allocations: 8 kB / 0.8477 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.03534, allocations: 37.39 kB / 0.8478 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=44): time 1.523e-06/0.03535, allocations: 0 / 0.8478 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=44): time 0.003746/0.03909, allocations: 1.821 MB / 0.8495 GB, free: 11.57 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.225e-05/0.03911, allocations: 55.41 kB / 0.8496 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00182/0.04093, allocations: 2.53 MB / 0.8521 GB, free: 8.961 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.834e-05/0.04102, allocations: 49.7 kB / 0.8521 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007618/0.04178, allocations: 1.161 MB / 0.8532 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.04189, allocations: 182.5 kB / 0.8534 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003783/0.04227, allocations: 357 kB / 0.8538 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.04241, allocations: 0.5704 MB / 0.8543 GB, free: 6.621 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005653/0.04297, allocations: 483.8 kB / 0.8548 GB, free: 6.148 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.04378, allocations: 0.9736 MB / 0.8557 GB, free: 5.078 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008886/0.04467, allocations: 0.8988 MB / 0.8566 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.04468, allocations: 4 kB / 0.8566 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002664/0.04734, allocations: 2.064 MB / 0.8586 GB, free: 2.059 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.04735, allocations: 4 kB / 0.8586 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.04736, allocations: 4.219 kB / 0.8586 GB, free: 2.051 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.04886, allocations: 0.6534 MB / 0.8593 GB, free: 1.395 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/0.04948, allocations: 223.7 kB / 0.8595 GB, free: 1.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003731/0.05321, allocations: 3.793 MB / 0.8632 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006879/0.0539, allocations: 194.7 kB / 0.8634 GB, free: 13.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/0.05399, allocations: 35.98 kB / 0.8634 GB, free: 13.04 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (140): * Single equations (assignments): 139 * 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,24,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003053/0.05429, allocations: 212.3 kB / 0.8636 GB, free: 12.82 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.05446, allocations: 238.5 kB / 0.8638 GB, free: 12.59 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001972/0.05465, allocations: 210.2 kB / 0.864 GB, free: 12.38 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.05466, allocations: 8 kB / 0.864 GB, free: 12.37 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.466e-05/0.05467, allocations: 8 kB / 0.8641 GB, free: 12.36 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.05468, allocations: 3.984 kB / 0.8641 GB, free: 12.36 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007648/0.05544, allocations: 0.8646 MB / 0.8649 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.05544, allocations: 0 / 0.8649 GB, free: 11.46 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.65e-05/0.05549, allocations: 12 kB / 0.8649 GB, free: 11.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.05689, allocations: 0.6043 MB / 0.8655 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.05691, allocations: 7.938 kB / 0.8655 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003619/0.06053, allocations: 3.739 MB / 0.8692 GB, free: 6.977 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.06053, allocations: 0 / 0.8692 GB, free: 6.977 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.06194, allocations: 1.096 MB / 0.8702 GB, free: 5.855 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003206/0.06226, allocations: 306.2 kB / 0.8705 GB, free: 5.555 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.06236, allocations: 12 kB / 0.8705 GB, free: 5.543 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.06266, allocations: 15.98 kB / 0.8706 GB, free: 5.527 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.743e-05/0.06273, allocations: 39.91 kB / 0.8706 GB, free: 5.488 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.06275, allocations: 16 kB / 0.8706 GB, free: 5.473 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000924/0.06368, allocations: 1.23 MB / 0.8718 GB, free: 4.234 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.06368, allocations: 3.938 kB / 0.8718 GB, free: 4.23 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0007682/0.06444, allocations: 0.5973 MB / 0.8724 GB, free: 3.633 MB / 0.823 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 (10): * Single equations (assignments): 9 * 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,24,46.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/0.06471, allocations: 171.7 kB / 0.8726 GB, free: 3.461 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.06657, allocations: 1.504 MB / 0.874 GB, free: 1.934 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.06658, allocations: 4 kB / 0.874 GB, free: 1.93 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/0.06751, allocations: 0.7533 MB / 0.8748 GB, free: 1.156 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001253/0.06876, allocations: 0.633 MB / 0.8754 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.07202, allocations: 3.198 MB / 0.8785 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005538/0.07257, allocations: 0.6359 MB / 0.8791 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003997/0.07297, allocations: 197.4 kB / 0.8793 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009036/0.07388, allocations: 0.5291 MB / 0.8798 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of SimCode: time 6.62e-07/0.07388, allocations: 0 / 0.8798 GB, free: 11.91 MB / 0.8386 GB Notification: Performance of Templates: time 0.04446/0.1183, allocations: 46.32 MB / 0.9251 GB, free: 14.23 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.464913875795901]