Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_10_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.001326/0.001326, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001322/0.001322, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.238/1.238, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.329/2.329, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 59.91 kB / 0.8689 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4622/0.4634, allocations: 151.6 MB / 1.017 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.006875/0.4703, allocations: 7.18 MB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006183/0.4765, allocations: 5.474 MB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006575/0.4772, allocations: 39.75 kB / 1.029 GB, free: 6.059 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003369/0.4806, allocations: 1.602 MB / 1.031 GB, free: 4.449 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.4817, allocations: 0.5472 MB / 1.031 GB, free: 3.898 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008502/0.4826, allocations: 343.5 kB / 1.032 GB, free: 3.562 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002217/0.4848, allocations: 2.963 MB / 1.035 GB, free: 0.5938 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005328/0.4853, allocations: 0.5449 MB / 1.035 GB, free: 28 kB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001044/0.4864, allocations: 1.113 MB / 1.036 GB, free: 14.91 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.4878, allocations: 1.635 MB / 1.038 GB, free: 13.27 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002641/0.488, allocations: 196 kB / 1.038 GB, free: 13.08 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004998/0.4885, allocations: 319.8 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.000487/0.489, allocations: 0.7088 MB / 1.039 GB, free: 12.05 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0008946/0.4899, allocations: 1.213 MB / 1.04 GB, free: 10.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.4922, allocations: 3.435 MB / 1.044 GB, free: 7.391 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.4922, allocations: 0 / 1.044 GB, free: 7.391 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.143e-06/0.4922, allocations: 0 / 1.044 GB, free: 7.391 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.164e-05/0.4923, allocations: 4 kB / 1.044 GB, free: 7.387 MB / 0.795 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.00535/0.4976, allocations: 3.398 MB / 1.047 GB, free: 3.918 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.4977, allocations: 8.031 kB / 1.047 GB, free: 3.91 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.914e-05/0.4978, allocations: 86.7 kB / 1.047 GB, free: 3.816 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003529/0.4981, allocations: 245.9 kB / 1.047 GB, free: 3.574 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/0.5005, allocations: 1.89 MB / 1.049 GB, free: 1.621 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.5006, allocations: 61 kB / 1.049 GB, free: 1.562 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001745/0.5007, allocations: 91.94 kB / 1.049 GB, free: 1.473 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009337/0.5017, allocations: 0.713 MB / 1.05 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5017, allocations: 0 / 1.05 GB, free: 0.7539 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.5018, allocations: 19.98 kB / 1.05 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.5018, allocations: 12 kB / 1.05 GB, free: 0.7227 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.5031, allocations: 0.9758 MB / 1.051 GB, free: 15.74 MB / 0.8106 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.008269/0.5114, allocations: 4.526 MB / 1.055 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.5124, allocations: 0.7914 MB / 1.056 GB, free: 10.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005313/0.513, allocations: 0.4934 MB / 1.057 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.798e-05/0.513, allocations: 7.953 kB / 1.057 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.5131, allocations: 42.5 kB / 1.057 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=44): time 1.673e-06/0.5131, allocations: 0 / 1.057 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of matching and sorting (n=44): time 0.008483/0.5216, allocations: 3.465 MB / 1.06 GB, free: 6.219 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.324e-05/0.5216, allocations: 67.34 kB / 1.06 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002895/0.5245, allocations: 2.96 MB / 1.063 GB, free: 3.168 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.5246, allocations: 49.7 kB / 1.063 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006975/0.5253, allocations: 0.863 MB / 1.064 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.5255, allocations: 157.7 kB / 1.064 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005012/0.526, allocations: 339.5 kB / 1.064 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.5261, allocations: 361.9 kB / 1.065 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/0.5276, allocations: 1.37 MB / 1.066 GB, free: 20 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001812/0.5295, allocations: 1.628 MB / 1.068 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/0.5316, allocations: 1.922 MB / 1.069 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5316, allocations: 4.094 kB / 1.069 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.005871/0.5375, allocations: 4.09 MB / 1.073 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5376, allocations: 8 kB / 1.073 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.5376, allocations: 0 / 1.073 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002819/0.5404, allocations: 1.109 MB / 1.075 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009919/0.5414, allocations: 223.7 kB / 1.075 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01/0.5514, allocations: 7.958 MB / 1.083 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/0.553, allocations: 266 kB / 1.083 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.5531, allocations: 40 kB / 1.083 GB, free: 14.59 MB / 0.8419 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.0009456/0.5541, allocations: 0.8056 MB / 1.084 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.5543, allocations: 209.2 kB / 1.084 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003246/0.5546, allocations: 254.7 kB / 1.084 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.5546, allocations: 8 kB / 1.084 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-05/0.5547, allocations: 4 kB / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.5547, allocations: 0 / 1.084 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.5558, allocations: 1.248 MB / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5559, allocations: 0 / 1.085 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.5559, allocations: 4 kB / 1.085 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002705/0.5586, allocations: 1.027 MB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.446e-05/0.5587, allocations: 8 kB / 1.086 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009987/0.5686, allocations: 7.948 MB / 1.094 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5687, allocations: 0 / 1.094 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003301/0.572, allocations: 1.953 MB / 1.096 GB, free: 0.8828 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006224/0.5726, allocations: 457.9 kB / 1.096 GB, free: 424 kB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.5728, allocations: 4 kB / 1.096 GB, free: 420 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005484/0.5734, allocations: 27.91 kB / 1.096 GB, free: 392 kB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.5735, allocations: 43.94 kB / 1.096 GB, free: 348 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.913e-05/0.5735, allocations: 12 kB / 1.097 GB, free: 336 kB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002313/0.5758, allocations: 2.055 MB / 1.099 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5758, allocations: 0 / 1.099 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001362/0.5772, allocations: 0.6132 MB / 1.099 GB, free: 13.65 MB / 0.8575 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.003711/0.5809, allocations: 2.585 MB / 1.102 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004248/0.5852, allocations: 2.819 MB / 1.104 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5852, allocations: 0 / 1.104 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.5872, allocations: 1.043 MB / 1.105 GB, free: 7.152 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.5893, allocations: 0.682 MB / 1.106 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03903/0.6284, allocations: 28.55 MB / 1.134 GB, free: 8.543 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.6297, allocations: 1.92 MB / 1.136 GB, free: 6.59 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009089/0.6307, allocations: 375.5 kB / 1.136 GB, free: 6.219 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008422/0.6315, allocations: 0.718 MB / 1.137 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of SimCode: time 4.5e-07/0.6315, allocations: 0 / 1.137 GB, free: 5.5 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.346/2.978, allocations: 62.42 MB / 1.198 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002428/2.978, allocations: 303.4 kB / 1.198 GB, free: 7.41 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.824/8.802, allocations: 4 kB / 1.198 GB, free: 7.406 MB / 0.9512 GB (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches