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.005547/0.005547, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001583/0.001583, allocations: 195.3 kB / 16.67 MB, free: 5.973 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.41/1.41, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.748/2.748, allocations: 469.8 MB / 0.7425 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 63.89 kB / 1.065 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6524/0.6545, allocations: 159.1 MB / 1.22 GB, free: 1.934 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.009128/0.6636, allocations: 7.233 MB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.008128/0.6718, allocations: 5.539 MB / 1.233 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000852/0.6726, allocations: 47.75 kB / 1.233 GB, free: 5.059 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.004051/0.6767, allocations: 1.686 MB / 1.234 GB, free: 3.367 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/0.6779, allocations: 0.6243 MB / 1.235 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009015/0.6789, allocations: 375.2 kB / 1.235 GB, free: 2.371 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.003034/0.6819, allocations: 2.941 MB / 1.238 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006999/0.6826, allocations: 0.5526 MB / 1.239 GB, free: 14.85 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.6839, allocations: 1.074 MB / 1.24 GB, free: 13.77 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.6859, allocations: 1.616 MB / 1.241 GB, free: 12.15 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003617/0.6863, allocations: 199.9 kB / 1.242 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006962/0.687, allocations: 331.8 kB / 1.242 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0007303/0.6877, allocations: 0.6972 MB / 1.243 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001297/0.689, allocations: 1.201 MB / 1.244 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003652/0.6927, allocations: 3.69 MB / 1.247 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6927, allocations: 0 / 1.247 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6927, allocations: 0 / 1.247 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.897e-05/0.6927, allocations: 0 / 1.247 GB, free: 6.023 MB / 0.9669 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.007067/0.6998, allocations: 3.537 MB / 1.251 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.6998, allocations: 12.02 kB / 1.251 GB, free: 2.406 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001112/0.7, allocations: 82.72 kB / 1.251 GB, free: 2.316 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.7004, allocations: 259.3 kB / 1.251 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/0.7035, allocations: 2.013 MB / 1.253 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/0.7036, allocations: 69 kB / 1.253 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.7038, allocations: 88 kB / 1.253 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.7051, allocations: 0.7091 MB / 1.254 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.7051, allocations: 0 / 1.254 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.972e-05/0.7052, allocations: 20 kB / 1.254 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/0.7052, allocations: 11.94 kB / 1.254 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.7068, allocations: 0.9797 MB / 1.255 GB, free: 14.11 MB / 0.9825 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.01056/0.7174, allocations: 4.496 MB / 1.259 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.7188, allocations: 0.785 MB / 1.26 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/0.7196, allocations: 0.5051 MB / 1.261 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.459e-05/0.7196, allocations: 7.953 kB / 1.261 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7197, allocations: 42.44 kB / 1.261 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=44): time 2.084e-06/0.7197, allocations: 4 kB / 1.261 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44): time 0.01056/0.7302, allocations: 3.474 MB / 1.264 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.7303, allocations: 59.34 kB / 1.264 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003892/0.7342, allocations: 2.949 MB / 1.267 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/0.7344, allocations: 53.7 kB / 1.267 GB, free: 1.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009683/0.7353, allocations: 0.8596 MB / 1.268 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001652/0.7355, allocations: 166.6 kB / 1.268 GB, free: 480 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000642/0.7361, allocations: 335.5 kB / 1.268 GB, free: 136 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.7363, allocations: 365.9 kB / 1.269 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.7385, allocations: 1.37 MB / 1.27 GB, free: 14.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002476/0.7409, allocations: 1.628 MB / 1.272 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002946/0.7439, allocations: 1.918 MB / 1.274 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.7439, allocations: 0 / 1.274 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.007712/0.7516, allocations: 4.106 MB / 1.278 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7517, allocations: 4 kB / 1.278 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7517, allocations: 96 / 1.278 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003487/0.7552, allocations: 1.109 MB / 1.279 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.7564, allocations: 223.7 kB / 1.279 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.7694, allocations: 7.957 MB / 1.287 GB, free: 13.27 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/0.7712, allocations: 266.5 kB / 1.287 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001627/0.7714, allocations: 44 kB / 1.287 GB, free: 12.96 MB / 1.014 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.001165/0.7726, allocations: 0.8065 MB / 1.288 GB, free: 12.15 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002684/0.7728, allocations: 226.4 kB / 1.288 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004581/0.7733, allocations: 250.7 kB / 1.288 GB, free: 11.68 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.7733, allocations: 7.984 kB / 1.288 GB, free: 11.67 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.162e-05/0.7733, allocations: 8 kB / 1.288 GB, free: 11.66 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.7733, allocations: 7.984 kB / 1.288 GB, free: 11.65 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.7749, allocations: 1.228 MB / 1.289 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.7749, allocations: 0 / 1.289 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.7749, allocations: 7.938 kB / 1.289 GB, free: 10.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003282/0.7782, allocations: 1.023 MB / 1.29 GB, free: 9.34 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.7783, allocations: 4 kB / 1.29 GB, free: 9.336 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01298/0.7913, allocations: 7.952 MB / 1.298 GB, free: 1.246 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.7913, allocations: 0 / 1.298 GB, free: 1.246 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004104/0.7954, allocations: 1.966 MB / 1.3 GB, free: 15.26 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006667/0.7961, allocations: 455.4 kB / 1.301 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/0.7963, allocations: 8 kB / 1.301 GB, free: 14.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/0.7969, allocations: 35.86 kB / 1.301 GB, free: 14.75 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001394/0.7971, allocations: 39.94 kB / 1.301 GB, free: 14.71 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.243e-05/0.7971, allocations: 8 kB / 1.301 GB, free: 14.7 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002893/0.8, allocations: 2.036 MB / 1.303 GB, free: 12.66 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.61e-07/0.8, allocations: 0 / 1.303 GB, free: 12.66 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001366/0.8014, allocations: 0.613 MB / 1.303 GB, free: 12.05 MB / 1.029 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.004759/0.8062, allocations: 2.593 MB / 1.306 GB, free: 9.434 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005161/0.8113, allocations: 2.815 MB / 1.308 GB, free: 6.605 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.8114, allocations: 3.938 kB / 1.308 GB, free: 6.602 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00245/0.8138, allocations: 1.047 MB / 1.309 GB, free: 5.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002438/0.8163, allocations: 0.6601 MB / 1.31 GB, free: 4.891 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03951/0.8558, allocations: 25.28 MB / 1.335 GB, free: 11.39 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001875/0.8577, allocations: 1.919 MB / 1.337 GB, free: 9.434 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000871/0.8586, allocations: 329.9 kB / 1.337 GB, free: 9.105 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001055/0.8596, allocations: 0.7063 MB / 1.338 GB, free: 8.398 MB / 1.061 GB Notification: Performance of SimCode: time 6.42e-07/0.8597, allocations: 0 / 1.338 GB, free: 8.398 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.108/0.9677, allocations: 62.18 MB / 1.398 GB, free: 10.91 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.5/14.47, allocations: 7.016 kB / 1.398 GB, free: 10.9 MB / 1.123 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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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