Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange,fileNamePrefix="Buildings_9_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.0008484/0.0008484, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004959/0.004959, allocations: 169.4 kB / 16.26 MB, free: 6.66 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.182/1.182, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.02/2.02, allocations: 390.9 MB / 0.6664 GB, free: 2.414 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003018/0.0003018, allocations: 12 kB / 0.8161 GB, free: 13.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5072/0.5075, allocations: 142.4 MB / 0.9552 GB, free: 7.715 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange): time 0.00486/0.5124, allocations: 6.746 MB / 0.9618 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.005639/0.5181, allocations: 5.404 MB / 0.967 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.5186, allocations: 31.59 kB / 0.9671 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003215/0.5219, allocations: 1.593 MB / 0.9686 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000994/0.5229, allocations: 0.5569 MB / 0.9692 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007462/0.5236, allocations: 328 kB / 0.9695 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002625/0.5263, allocations: 3.126 MB / 0.9725 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.5268, allocations: 0.5081 MB / 0.973 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/0.528, allocations: 0.9566 MB / 0.974 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001511/0.5295, allocations: 1.55 MB / 0.9755 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002512/0.5297, allocations: 120.8 kB / 0.9756 GB, free: 8.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005279/0.5303, allocations: 239.7 kB / 0.9758 GB, free: 8.84 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005292/0.5308, allocations: 0.6188 MB / 0.9764 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.5318, allocations: 1.158 MB / 0.9776 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002491/0.5343, allocations: 3.179 MB / 0.9807 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5343, allocations: 4 kB / 0.9807 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5343, allocations: 0 / 0.9807 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.982e-05/0.5344, allocations: 0 / 0.9807 GB, free: 5.164 MB / 0.7325 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.006426/0.5408, allocations: 3.535 MB / 0.9841 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.5409, allocations: 12.03 kB / 0.9841 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001009/0.541, allocations: 86.72 kB / 0.9842 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003348/0.5413, allocations: 241.9 kB / 0.9844 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002499/0.5438, allocations: 1.882 MB / 0.9863 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.5439, allocations: 65 kB / 0.9863 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.5441, allocations: 84 kB / 0.9864 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009619/0.5451, allocations: 0.7207 MB / 0.9871 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.5451, allocations: 0 / 0.9871 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.785e-05/0.5451, allocations: 16 kB / 0.9871 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.5451, allocations: 12 kB / 0.9872 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001328/0.5465, allocations: 0.9836 MB / 0.9881 GB, free: 13.38 MB / 0.7481 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.01018/0.5567, allocations: 5.095 MB / 0.9931 GB, free: 8.145 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001185/0.5579, allocations: 0.7854 MB / 0.9939 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006048/0.5585, allocations: 0.4966 MB / 0.9943 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.5585, allocations: 8.719 kB / 0.9943 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.5586, allocations: 38.5 kB / 0.9944 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=44): time 2.244e-06/0.5586, allocations: 4 kB / 0.9944 GB, free: 6.789 MB / 0.7481 GB Notification: Performance of matching and sorting (n=44): time 0.00942/0.568, allocations: 3.539 MB / 0.9978 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.846e-05/0.568, allocations: 63.3 kB / 0.9979 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.5715, allocations: 2.972 MB / 1.001 GB, free: 160 kB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002293/0.5718, allocations: 53.7 kB / 1.001 GB, free: 100 kB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000791/0.5726, allocations: 0.859 MB / 1.002 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.5727, allocations: 161.8 kB / 1.002 GB, free: 15.07 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.5729, allocations: 161.6 kB / 1.002 GB, free: 14.91 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.5731, allocations: 361.9 kB / 1.002 GB, free: 14.55 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.5748, allocations: 1.374 MB / 1.004 GB, free: 13.17 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001984/0.5768, allocations: 1.624 MB / 1.005 GB, free: 11.54 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.5792, allocations: 1.918 MB / 1.007 GB, free: 9.605 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.5792, allocations: 4 kB / 1.007 GB, free: 9.602 MB / 0.7637 GB Notification: Performance of matching and sorting (n=167) (initialization): time 0.00648/0.5857, allocations: 4.09 MB / 1.011 GB, free: 5.496 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5857, allocations: 9.25 kB / 1.011 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5857, allocations: 0 / 1.011 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003011/0.5887, allocations: 1.105 MB / 1.012 GB, free: 4.379 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.5898, allocations: 223.7 kB / 1.012 GB, free: 4.16 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/0.6002, allocations: 7.366 MB / 1.02 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001842/0.6021, allocations: 262 kB / 1.02 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.6023, allocations: 44 kB / 1.02 GB, free: 12.35 MB / 0.7794 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.001166/0.6034, allocations: 0.8056 MB / 1.021 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003245/0.6038, allocations: 213.1 kB / 1.021 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005421/0.6043, allocations: 254.7 kB / 1.021 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.6043, allocations: 4 kB / 1.021 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.992e-05/0.6044, allocations: 8 kB / 1.021 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.6044, allocations: 3.984 kB / 1.021 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.6059, allocations: 1.228 MB / 1.022 GB, free: 9.773 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.6059, allocations: 4 kB / 1.022 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.635e-05/0.606, allocations: 11.97 kB / 1.022 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002841/0.6088, allocations: 1.016 MB / 1.023 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.414e-05/0.6089, allocations: 19.94 kB / 1.023 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01029/0.6192, allocations: 7.341 MB / 1.031 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6192, allocations: 0 / 1.031 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.6227, allocations: 1.954 MB / 1.032 GB, free: 15.25 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006784/0.6234, allocations: 450 kB / 1.033 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.6237, allocations: 4 kB / 1.033 GB, free: 14.79 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006738/0.6243, allocations: 31.86 kB / 1.033 GB, free: 14.76 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.6245, allocations: 39.89 kB / 1.033 GB, free: 14.72 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.6245, allocations: 12 kB / 1.033 GB, free: 14.71 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.002711/0.6272, allocations: 2.059 MB / 1.035 GB, free: 12.64 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6272, allocations: 0 / 1.035 GB, free: 12.64 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001453/0.6287, allocations: 0.6171 MB / 1.036 GB, free: 12.02 MB / 0.795 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.003994/0.6327, allocations: 2.563 MB / 1.038 GB, free: 9.438 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004586/0.6373, allocations: 2.842 MB / 1.041 GB, free: 6.586 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.6373, allocations: 0 / 1.041 GB, free: 6.586 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.6394, allocations: 1.067 MB / 1.042 GB, free: 5.508 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.642, allocations: 0.6337 MB / 1.043 GB, free: 4.883 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04274/0.6847, allocations: 28.29 MB / 1.07 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00136/0.6861, allocations: 1.923 MB / 1.072 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008028/0.6869, allocations: 317.7 kB / 1.072 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008519/0.6878, allocations: 0.7063 MB / 1.073 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of SimCode: time 6.71e-07/0.6878, allocations: 0 / 1.073 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.349/7.036, allocations: 59.08 MB / 1.131 GB, free: 9.812 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000257/7.037, allocations: 300 kB / 1.131 GB, free: 9.434 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.743/9.779, allocations: 0 / 1.131 GB, free: 9.434 MB / 0.8887 GB (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat --tempDir=temp_Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.fmu > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_InfraredRadiationExchange.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.InfraredRadiationExchange.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches