Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_latest_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.0009094/0.0009094, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.005555/0.005555, allocations: 174.1 kB / 16.26 MB, free: 6.336 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.281/1.281, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 462.7 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003176/0.0003176, allocations: 8.219 kB / 0.9029 GB, free: 36.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2641, allocations: 159.6 MB / 1.059 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006185/0.2703, allocations: 6.768 MB / 1.065 GB, free: 14.04 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.007077/0.2774, allocations: 5.404 MB / 1.071 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.2787, allocations: 39.81 kB / 1.071 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004383/0.2831, allocations: 1.575 MB / 1.072 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.285, allocations: 0.5472 MB / 1.073 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.2865, allocations: 342 kB / 1.073 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.004466/0.291, allocations: 3.121 MB / 1.076 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007479/0.2917, allocations: 0.5089 MB / 1.077 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0016/0.2934, allocations: 0.9685 MB / 1.078 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00201/0.2954, allocations: 1.549 MB / 1.079 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006147/0.296, allocations: 120 kB / 1.079 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009543/0.297, allocations: 235.8 kB / 1.079 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008155/0.2978, allocations: 0.6229 MB / 1.08 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001787/0.2996, allocations: 1.148 MB / 1.081 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002827/0.3024, allocations: 3.181 MB / 1.084 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3024, allocations: 8 kB / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3025, allocations: 0 / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.961e-05/0.3025, allocations: 0 / 1.084 GB, free: 10.6 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.006563/0.309, allocations: 3.535 MB / 1.088 GB, free: 6.992 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.3091, allocations: 12.03 kB / 1.088 GB, free: 6.98 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.3092, allocations: 86.7 kB / 1.088 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003508/0.3096, allocations: 249.8 kB / 1.088 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002677/0.3123, allocations: 1.87 MB / 1.09 GB, free: 4.707 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.37e-05/0.3123, allocations: 61 kB / 1.09 GB, free: 4.648 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/0.3125, allocations: 88 kB / 1.09 GB, free: 4.562 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009528/0.3135, allocations: 0.7169 MB / 1.091 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3135, allocations: 0 / 1.091 GB, free: 3.836 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.3136, allocations: 16 kB / 1.091 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.032e-05/0.3136, allocations: 19.94 kB / 1.091 GB, free: 3.801 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001348/0.3149, allocations: 0.9797 MB / 1.092 GB, free: 2.82 MB / 0.8419 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.009651/0.3246, allocations: 5.107 MB / 1.097 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.3258, allocations: 0.7876 MB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.3264, allocations: 0.4966 MB / 1.098 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.3264, allocations: 4.719 kB / 1.098 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.3264, allocations: 42.5 kB / 1.098 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 1.994e-06/0.3264, allocations: 4 kB / 1.098 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.009338/0.3358, allocations: 3.524 MB / 1.101 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.3358, allocations: 67.28 kB / 1.102 GB, free: 8.57 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003349/0.3392, allocations: 2.968 MB / 1.104 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002509/0.3395, allocations: 53.7 kB / 1.104 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007465/0.3402, allocations: 0.8591 MB / 1.105 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001376/0.3404, allocations: 157.7 kB / 1.105 GB, free: 4.508 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/0.3406, allocations: 165.6 kB / 1.106 GB, free: 4.34 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3407, allocations: 357.9 kB / 1.106 GB, free: 3.984 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/0.3424, allocations: 1.374 MB / 1.107 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001941/0.3443, allocations: 1.628 MB / 1.109 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002324/0.3467, allocations: 1.919 MB / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3467, allocations: 0 / 1.111 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.006345/0.353, allocations: 4.09 MB / 1.115 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.3531, allocations: 4 kB / 1.115 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.3531, allocations: 4 kB / 1.115 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/0.356, allocations: 1.105 MB / 1.116 GB, free: 9.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.3571, allocations: 223.7 kB / 1.116 GB, free: 9.602 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009921/0.3671, allocations: 7.36 MB / 1.123 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.3689, allocations: 266 kB / 1.124 GB, free: 1.844 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.3691, allocations: 47.98 kB / 1.124 GB, free: 1.797 MB / 0.8731 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.001024/0.3701, allocations: 0.7984 MB / 1.124 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.3703, allocations: 217.1 kB / 1.125 GB, free: 0.7734 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00041/0.3707, allocations: 250.7 kB / 1.125 GB, free: 0.5195 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3707, allocations: 4 kB / 1.125 GB, free: 0.5156 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/0.3708, allocations: 8 kB / 1.125 GB, free: 0.5078 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3708, allocations: 3.984 kB / 1.125 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.372, allocations: 1.24 MB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.372, allocations: 4 kB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.585e-05/0.3721, allocations: 4 kB / 1.126 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002851/0.3749, allocations: 1.02 MB / 1.127 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.18e-05/0.375, allocations: 7.984 kB / 1.127 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.3853, allocations: 7.325 MB / 1.134 GB, free: 6.711 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.3854, allocations: 11.88 kB / 1.134 GB, free: 6.699 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003738/0.3891, allocations: 1.962 MB / 1.136 GB, free: 4.715 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009055/0.3901, allocations: 442 kB / 1.137 GB, free: 4.262 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.3902, allocations: 8 kB / 1.137 GB, free: 4.254 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/0.3909, allocations: 39.8 kB / 1.137 GB, free: 4.215 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.391, allocations: 39.88 kB / 1.137 GB, free: 4.176 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-05/0.3911, allocations: 20 kB / 1.137 GB, free: 4.156 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0026/0.3937, allocations: 2.052 MB / 1.139 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3e-07/0.3937, allocations: 0 / 1.139 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00158/0.3953, allocations: 0.618 MB / 1.139 GB, free: 1.48 MB / 0.8887 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.004019/0.3993, allocations: 2.562 MB / 1.142 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004781/0.4041, allocations: 2.839 MB / 1.144 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4041, allocations: 0 / 1.144 GB, free: 12.04 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.4063, allocations: 1.059 MB / 1.146 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002687/0.409, allocations: 0.625 MB / 1.146 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04492/0.4539, allocations: 28.29 MB / 1.174 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001319/0.4553, allocations: 1.919 MB / 1.176 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009978/0.4563, allocations: 317.7 kB / 1.176 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008827/0.4572, allocations: 0.7024 MB / 1.177 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of SimCode: time 1.042e-06/0.4572, allocations: 0 / 1.177 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.807/5.265, allocations: 59.1 MB / 1.234 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/5.265, allocations: 310.1 kB / 1.235 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/8.125, allocations: 0 / 1.235 GB, free: 14.89 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches