Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 109.6 kB / 16.41 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001412, allocations: 189.7 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.265/2.265, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001535/0.001535, allocations: 63.91 kB / 0.9516 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.933/0.9346, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009371/0.944, allocations: 7.237 MB / 1.096 GB, free: 324 kB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.9547, allocations: 5.539 MB / 1.101 GB, free: 12.31 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002644/0.9573, allocations: 55.84 kB / 1.101 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.007055/0.9644, allocations: 1.696 MB / 1.103 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003358/0.9679, allocations: 0.6249 MB / 1.104 GB, free: 11.07 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002035/0.9699, allocations: 379.7 kB / 1.104 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006011/0.9759, allocations: 2.954 MB / 1.107 GB, free: 9.621 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001172/0.9772, allocations: 0.5412 MB / 1.107 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003056/0.9803, allocations: 1.105 MB / 1.108 GB, free: 8.973 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003763/0.9841, allocations: 1.611 MB / 1.11 GB, free: 8.395 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001541/0.9856, allocations: 200.4 kB / 1.11 GB, free: 8.391 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0025/0.9882, allocations: 322.1 kB / 1.11 GB, free: 8.352 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.002126/0.9903, allocations: 0.7037 MB / 1.111 GB, free: 8.031 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004845/0.9952, allocations: 1.204 MB / 1.112 GB, free: 7.32 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.008754/1.004, allocations: 3.678 MB / 1.116 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/1.004, allocations: 0 / 1.116 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.317e-06/1.004, allocations: 0 / 1.116 GB, free: 6.066 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 0.0001565/1.004, allocations: 6.031 kB / 1.116 GB, free: 6.062 MB / 0.8731 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.01452/1.019, allocations: 3.451 MB / 1.119 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.999e-05/1.019, allocations: 9.125 kB / 1.119 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001549/1.02, allocations: 243.8 kB / 1.12 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006226/1.027, allocations: 1.996 MB / 1.121 GB, free: 3.191 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/1.027, allocations: 62.16 kB / 1.122 GB, free: 3.164 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009169/1.028, allocations: 88.31 kB / 1.122 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/1.03, allocations: 0.719 MB / 1.122 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/1.03, allocations: 0 / 1.122 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-05/1.03, allocations: 16.5 kB / 1.122 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.642e-05/1.03, allocations: 10.84 kB / 1.122 GB, free: 2.887 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/1.032, allocations: 0.9771 MB / 1.123 GB, free: 2.648 MB / 0.8731 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.01675/1.049, allocations: 4.493 MB / 1.128 GB, free: 0.9219 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/1.051, allocations: 0.7844 MB / 1.128 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009782/1.052, allocations: 0.4954 MB / 1.129 GB, free: 0.5234 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.674e-05/1.052, allocations: 8.734 kB / 1.129 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/1.052, allocations: 40.23 kB / 1.129 GB, free: 484 kB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 3.136e-06/1.052, allocations: 3.938 kB / 1.129 GB, free: 480 kB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.01296/1.065, allocations: 3.463 MB / 1.132 GB, free: 15.59 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/1.065, allocations: 60.33 kB / 1.132 GB, free: 15.53 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007808/1.073, allocations: 2.949 MB / 1.135 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0009876/1.074, allocations: 53.08 kB / 1.135 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002115/1.076, allocations: 0.859 MB / 1.136 GB, free: 13.86 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004115/1.076, allocations: 157.6 kB / 1.136 GB, free: 13.74 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002416/1.079, allocations: 331.1 kB / 1.137 GB, free: 13.61 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002369/1.079, allocations: 367.9 kB / 1.137 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002892/1.082, allocations: 1.371 MB / 1.138 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003491/1.085, allocations: 1.627 MB / 1.14 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003972/1.089, allocations: 1.924 MB / 1.142 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.264e-05/1.089, allocations: 1.156 kB / 1.142 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.01079/1.1, allocations: 4.093 MB / 1.146 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/1.1, allocations: 5.281 kB / 1.146 GB, free: 9.059 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.1, allocations: 3.984 kB / 1.146 GB, free: 9.055 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00363/1.104, allocations: 1.102 MB / 1.147 GB, free: 8.621 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001967/1.106, allocations: 222.2 kB / 1.147 GB, free: 8.566 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/1.121, allocations: 7.959 MB / 1.155 GB, free: 3.629 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003455/1.124, allocations: 267.2 kB / 1.155 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009874/1.125, allocations: 40.84 kB / 1.155 GB, free: 3.438 MB / 0.8887 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.002818/1.128, allocations: 0.8006 MB / 1.156 GB, free: 2.941 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008949/1.129, allocations: 213.8 kB / 1.156 GB, free: 2.82 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/1.13, allocations: 255.6 kB / 1.156 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.13, allocations: 5.188 kB / 1.156 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.517e-05/1.13, allocations: 11.03 kB / 1.156 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.13, allocations: 0 / 1.156 GB, free: 2.664 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/1.134, allocations: 1.225 MB / 1.158 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.134, allocations: 0 / 1.158 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.928e-05/1.134, allocations: 2.188 kB / 1.158 GB, free: 1.82 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003566/1.138, allocations: 1.027 MB / 1.159 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.96e-05/1.138, allocations: 9.062 kB / 1.159 GB, free: 1.367 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01401/1.152, allocations: 7.921 MB / 1.166 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.152, allocations: 4 kB / 1.166 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004714/1.157, allocations: 1.956 MB / 1.168 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/1.158, allocations: 455.5 kB / 1.169 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008907/1.159, allocations: 5.469 kB / 1.169 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/1.16, allocations: 29.53 kB / 1.169 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002223/1.161, allocations: 42.28 kB / 1.169 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.064e-05/1.161, allocations: 7.156 kB / 1.169 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004983/1.166, allocations: 2.041 MB / 1.171 GB, free: 9.281 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6.11e-07/1.166, allocations: 4 kB / 1.171 GB, free: 9.277 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.003679/1.169, allocations: 0.6053 MB / 1.171 GB, free: 8.672 MB / 0.9044 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.0005886/1.17, allocations: 159.6 kB / 1.172 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.006585/1.176, allocations: 2.819 MB / 1.174 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.177, allocations: 0 / 1.174 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002494/1.179, allocations: 1.028 MB / 1.175 GB, free: 4.645 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004354/1.183, allocations: 0.6748 MB / 1.176 GB, free: 3.984 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008232/1.192, allocations: 3.957 MB / 1.18 GB, free: 15.99 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002054/1.194, allocations: 1.785 MB / 1.182 GB, free: 14.18 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/1.195, allocations: 87.44 kB / 1.182 GB, free: 14.09 MB / 0.92 GB Notification: Performance of SimCode: time 6.81e-07/1.195, allocations: 0 / 1.182 GB, free: 14.09 MB / 0.92 GB Notification: Performance of Templates: time 0.0675/1.262, allocations: 45.91 MB / 1.226 GB, free: 388 kB / 0.9512 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches