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.00125/0.00125, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001304/0.001304, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.224/1.224, allocations: 222.9 MB / 239.8 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.472/2.472, allocations: 461.8 MB / 0.7342 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 74.41 kB / 0.8985 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/0.2512, allocations: 157.4 MB / 1.052 GB, free: 8.223 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.008759/0.26, allocations: 7.21 MB / 1.059 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.008101/0.2681, allocations: 5.466 MB / 1.065 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.2696, allocations: 35.81 kB / 1.065 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004962/0.2746, allocations: 1.587 MB / 1.066 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.2767, allocations: 0.555 MB / 1.067 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.2781, allocations: 334.4 kB / 1.067 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00396/0.2821, allocations: 3.123 MB / 1.07 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000854/0.2829, allocations: 0.505 MB / 1.071 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001862/0.2849, allocations: 0.9841 MB / 1.072 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002305/0.2872, allocations: 1.569 MB / 1.073 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0007595/0.288, allocations: 128 kB / 1.073 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.2891, allocations: 239.8 kB / 1.073 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.001004/0.2902, allocations: 0.6229 MB / 1.074 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001762/0.2919, allocations: 1.135 MB / 1.075 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.002933/0.2949, allocations: 3.236 MB / 1.078 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.2949, allocations: 0 / 1.078 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2949, allocations: 4 kB / 1.078 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.528e-05/0.295, allocations: 0 / 1.078 GB, free: 13.38 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.006298/0.3013, allocations: 3.359 MB / 1.082 GB, free: 9.953 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.3013, allocations: 12.03 kB / 1.082 GB, free: 9.941 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001212/0.3015, allocations: 86.7 kB / 1.082 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004355/0.3019, allocations: 245.9 kB / 1.082 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003013/0.3049, allocations: 1.886 MB / 1.084 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.305, allocations: 61 kB / 1.084 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001924/0.3052, allocations: 91.94 kB / 1.084 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.3063, allocations: 0.7169 MB / 1.085 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3063, allocations: 0 / 1.085 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.484e-05/0.3064, allocations: 16 kB / 1.085 GB, free: 6.766 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.326e-05/0.3064, allocations: 12 kB / 1.085 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.3079, allocations: 0.9874 MB / 1.086 GB, free: 5.766 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.01051/0.3184, allocations: 4.519 MB / 1.09 GB, free: 1.102 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.3197, allocations: 0.7838 MB / 1.091 GB, free: 312 kB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.3204, allocations: 0.5004 MB / 1.091 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.731e-05/0.3204, allocations: 4.719 kB / 1.091 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.3205, allocations: 46.48 kB / 1.091 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=44): time 2.455e-06/0.3205, allocations: 0 / 1.091 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44): time 0.009825/0.3303, allocations: 3.453 MB / 1.095 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.3304, allocations: 63.3 kB / 1.095 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004546/0.335, allocations: 2.972 MB / 1.098 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0004069/0.3354, allocations: 53.7 kB / 1.098 GB, free: 9.137 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000888/0.3363, allocations: 0.8668 MB / 1.099 GB, free: 8.262 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.3365, allocations: 157.8 kB / 1.099 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005756/0.337, allocations: 331.5 kB / 1.099 GB, free: 7.777 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.3372, allocations: 365.9 kB / 1.099 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001816/0.339, allocations: 1.37 MB / 1.101 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/0.3411, allocations: 1.62 MB / 1.102 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002534/0.3437, allocations: 1.926 MB / 1.104 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.3437, allocations: 0 / 1.104 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007047/0.3507, allocations: 4.086 MB / 1.108 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.629e-05/0.3508, allocations: 11.94 kB / 1.108 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.3508, allocations: 4 kB / 1.108 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003173/0.354, allocations: 1.101 MB / 1.109 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.3552, allocations: 223.7 kB / 1.109 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.3659, allocations: 7.29 MB / 1.117 GB, free: 5.605 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/0.368, allocations: 266 kB / 1.117 GB, free: 5.344 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001621/0.3682, allocations: 40 kB / 1.117 GB, free: 5.305 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.001205/0.3694, allocations: 0.8018 MB / 1.118 GB, free: 4.492 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002646/0.3696, allocations: 217 kB / 1.118 GB, free: 4.277 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003837/0.37, allocations: 254.7 kB / 1.118 GB, free: 4.023 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.37, allocations: 8 kB / 1.118 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-05/0.3701, allocations: 4 kB / 1.118 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.3701, allocations: 15.97 kB / 1.118 GB, free: 3.996 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001311/0.3714, allocations: 1.228 MB / 1.119 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3714, allocations: 0 / 1.119 GB, free: 2.719 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.888e-05/0.3715, allocations: 3.984 kB / 1.119 GB, free: 2.715 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002846/0.3743, allocations: 1.02 MB / 1.12 GB, free: 1.691 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.3744, allocations: 15.94 kB / 1.12 GB, free: 1.676 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.3849, allocations: 7.255 MB / 1.127 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3849, allocations: 0 / 1.127 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003834/0.3887, allocations: 1.962 MB / 1.129 GB, free: 8.293 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008397/0.3896, allocations: 442.1 kB / 1.13 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001899/0.3898, allocations: 7.984 kB / 1.13 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005706/0.3904, allocations: 39.81 kB / 1.13 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.3905, allocations: 43.88 kB / 1.13 GB, free: 7.75 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.973e-05/0.3905, allocations: 8 kB / 1.13 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.002635/0.3932, allocations: 2.052 MB / 1.132 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3932, allocations: 0 / 1.132 GB, free: 5.684 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001574/0.3948, allocations: 0.6219 MB / 1.132 GB, free: 5.062 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.003824/0.3986, allocations: 2.566 MB / 1.135 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.004658/0.4033, allocations: 2.808 MB / 1.138 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4033, allocations: 0 / 1.138 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.002047/0.4053, allocations: 1.036 MB / 1.139 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.4078, allocations: 0.6293 MB / 1.139 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04401/0.4518, allocations: 28.25 MB / 1.167 GB, free: 360 kB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/0.4533, allocations: 1.923 MB / 1.169 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0009472/0.4542, allocations: 321.6 kB / 1.169 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009032/0.4551, allocations: 0.7063 MB / 1.17 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of SimCode: time 1.041e-06/0.4551, allocations: 0 / 1.17 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.577/3.032, allocations: 60.08 MB / 1.228 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002611/3.032, allocations: 312.4 kB / 1.229 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.062/8.095, allocations: 0 / 1.229 GB, free: 1.562 MB / 0.9825 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