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.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.417/2.417, allocations: 469.8 MB / 0.7424 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 64.84 kB / 0.9087 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2671, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008759/0.2759, allocations: 7.235 MB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007576/0.2835, allocations: 5.539 MB / 1.077 GB, free: 1.367 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006034/0.2842, allocations: 43.75 kB / 1.077 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003746/0.2879, allocations: 1.691 MB / 1.078 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.2891, allocations: 0.6088 MB / 1.079 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008826/0.29, allocations: 381.9 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.002865/0.2929, allocations: 2.937 MB / 1.082 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000686/0.2936, allocations: 0.5371 MB / 1.083 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001245/0.2948, allocations: 1.074 MB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001865/0.2967, allocations: 1.62 MB / 1.085 GB, free: 8.434 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000374/0.2971, allocations: 200 kB / 1.085 GB, free: 8.238 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006709/0.2977, allocations: 319.8 kB / 1.086 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0007046/0.2985, allocations: 0.701 MB / 1.086 GB, free: 7.223 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001281/0.2997, allocations: 1.209 MB / 1.088 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003079/0.3028, allocations: 3.443 MB / 1.091 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3028, allocations: 0 / 1.091 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.092e-06/0.3029, allocations: 0 / 1.091 GB, free: 2.555 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.943e-05/0.3029, allocations: 0 / 1.091 GB, free: 2.555 MB / 0.8419 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.006655/0.3095, allocations: 3.405 MB / 1.094 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3096, allocations: 8.031 kB / 1.094 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.3097, allocations: 86.72 kB / 1.094 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003827/0.3101, allocations: 241.9 kB / 1.095 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002851/0.313, allocations: 1.901 MB / 1.096 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.915e-05/0.313, allocations: 61 kB / 1.097 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001971/0.3132, allocations: 88 kB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.3143, allocations: 0.713 MB / 1.097 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.3143, allocations: 0 / 1.097 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/0.3144, allocations: 20 kB / 1.097 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.3144, allocations: 12 kB / 1.097 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.3159, allocations: 0.9758 MB / 1.098 GB, free: 10.9 MB / 0.8575 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.01015/0.3261, allocations: 4.526 MB / 1.103 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.3274, allocations: 0.7806 MB / 1.103 GB, free: 5.441 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/0.3281, allocations: 0.5043 MB / 1.104 GB, free: 4.934 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.3281, allocations: 4.719 kB / 1.104 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.3282, allocations: 38.5 kB / 1.104 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 1.643e-06/0.3282, allocations: 4 kB / 1.104 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.009543/0.3377, allocations: 3.473 MB / 1.107 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3378, allocations: 63.3 kB / 1.107 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003618/0.3414, allocations: 2.968 MB / 1.11 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/0.3415, allocations: 53.7 kB / 1.11 GB, free: 14.26 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009283/0.3425, allocations: 0.8551 MB / 1.111 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.3426, allocations: 165.8 kB / 1.111 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005914/0.3432, allocations: 331.5 kB / 1.112 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.3434, allocations: 365.9 kB / 1.112 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/0.3454, allocations: 1.374 MB / 1.113 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002273/0.3476, allocations: 1.62 MB / 1.115 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00271/0.3504, allocations: 1.922 MB / 1.117 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3504, allocations: 0 / 1.117 GB, free: 7.598 MB / 0.8731 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007058/0.3574, allocations: 4.09 MB / 1.121 GB, free: 3.492 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3575, allocations: 5.406 kB / 1.121 GB, free: 3.488 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.3575, allocations: 3.984 kB / 1.121 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003136/0.3606, allocations: 1.105 MB / 1.122 GB, free: 2.375 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.3618, allocations: 231.7 kB / 1.122 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/0.3739, allocations: 7.95 MB / 1.13 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.3756, allocations: 265.9 kB / 1.13 GB, free: 9.781 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/0.3758, allocations: 44 kB / 1.13 GB, free: 9.738 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.001096/0.3769, allocations: 0.8056 MB / 1.131 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002497/0.3771, allocations: 209.2 kB / 1.131 GB, free: 8.715 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003912/0.3775, allocations: 258.7 kB / 1.131 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.3775, allocations: 4 kB / 1.131 GB, free: 8.453 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/0.3776, allocations: 8 kB / 1.131 GB, free: 8.445 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.3776, allocations: 7.969 kB / 1.131 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001423/0.379, allocations: 1.232 MB / 1.133 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.379, allocations: 4 kB / 1.133 GB, free: 7.152 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.3791, allocations: 7.984 kB / 1.133 GB, free: 7.145 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002937/0.382, allocations: 1.023 MB / 1.134 GB, free: 6.117 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.3821, allocations: 4 kB / 1.134 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01201/0.3941, allocations: 7.933 MB / 1.141 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3941, allocations: 3.938 kB / 1.141 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003772/0.3979, allocations: 1.96 MB / 1.143 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/0.3985, allocations: 450 kB / 1.144 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.3987, allocations: 8 kB / 1.144 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006225/0.3993, allocations: 23.97 kB / 1.144 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.3995, allocations: 39.94 kB / 1.144 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.3995, allocations: 12 kB / 1.144 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0027/0.4022, allocations: 2.055 MB / 1.146 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4022, allocations: 4 kB / 1.146 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001405/0.4036, allocations: 0.6141 MB / 1.146 GB, free: 8.824 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.004325/0.408, allocations: 2.578 MB / 1.149 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004905/0.4129, allocations: 2.811 MB / 1.152 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4129, allocations: 0 / 1.152 GB, free: 3.402 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002277/0.4152, allocations: 1.039 MB / 1.153 GB, free: 2.344 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002258/0.4175, allocations: 0.6752 MB / 1.153 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05629/0.4738, allocations: 27.88 MB / 1.181 GB, free: 4.418 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002073/0.4759, allocations: 1.911 MB / 1.183 GB, free: 2.469 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0008425/0.4767, allocations: 321.6 kB / 1.183 GB, free: 2.148 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009649/0.4777, allocations: 0.7102 MB / 1.184 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.4777, allocations: 0 / 1.184 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4773/0.955, allocations: 61.62 MB / 1.244 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.81, allocations: 22.52 kB / 1.244 GB, free: 4.477 MB / 0.9981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches