Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",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.001363/0.001363, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001483/0.001483, allocations: 189.8 kB / 16.25 MB, free: 6.637 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.393/1.393, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.122/2.122, allocations: 390.3 MB / 0.6644 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 75.88 kB / 0.8122 GB, free: 14.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4803, allocations: 140.4 MB / 0.9492 GB, free: 9.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1406/0.621, allocations: 159.3 MB / 1.105 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004165/0.6252, allocations: 3.473 MB / 1.108 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003033/0.6255, allocations: 7.938 kB / 1.108 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0004056/0.6259, allocations: 111.3 kB / 1.108 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.627, allocations: 422.2 kB / 1.109 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.6283, allocations: 0.5448 MB / 1.109 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.000652/0.629, allocations: 0.6321 MB / 1.11 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003462/0.6293, allocations: 220.6 kB / 1.11 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.6307, allocations: 342.8 kB / 1.11 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002512/0.631, allocations: 199.2 kB / 1.111 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.953e-05/0.631, allocations: 27.94 kB / 1.111 GB, free: 12.22 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007609/0.6318, allocations: 0.5611 MB / 1.111 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.6319, allocations: 99.75 kB / 1.111 GB, free: 11.56 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.632, allocations: 139.3 kB / 1.111 GB, free: 11.42 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.000693/0.6327, allocations: 0.5804 MB / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.6328, allocations: 0 / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.343e-06/0.6328, allocations: 0 / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.6328, allocations: 0 / 1.112 GB, free: 10.84 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009413/0.6337, allocations: 0.6466 MB / 1.113 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6338, allocations: 8.031 kB / 1.113 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.904e-05/0.6338, allocations: 62.55 kB / 1.113 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004724/0.6343, allocations: 79.5 kB / 1.113 GB, free: 9.988 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003056/0.6346, allocations: 285.4 kB / 1.113 GB, free: 9.672 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.6346, allocations: 20.44 kB / 1.113 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.25e-05/0.6347, allocations: 16 kB / 1.113 GB, free: 9.637 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005633/0.6353, allocations: 312.2 kB / 1.113 GB, free: 9.309 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.6353, allocations: 3.984 kB / 1.113 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.6353, allocations: 15.98 kB / 1.113 GB, free: 9.289 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.6353, allocations: 7.938 kB / 1.113 GB, free: 9.281 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005885/0.6359, allocations: 248.6 kB / 1.114 GB, free: 9.039 MB / 0.8731 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.001347/0.6373, allocations: 1.248 MB / 1.115 GB, free: 7.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003849/0.6377, allocations: 178.5 kB / 1.115 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002766/0.6379, allocations: 116.8 kB / 1.115 GB, free: 7.379 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/0.6385, allocations: 307.2 kB / 1.115 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.6385, allocations: 42.5 kB / 1.115 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.6385, allocations: 0 / 1.115 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14): time 0.002069/0.6406, allocations: 0.5847 MB / 1.116 GB, free: 6.359 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.6406, allocations: 51.41 kB / 1.116 GB, free: 6.297 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.6408, allocations: 263 kB / 1.116 GB, free: 6.035 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.76e-05/0.6409, allocations: 25.7 kB / 1.116 GB, free: 6.004 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 8.607e-05/0.641, allocations: 160.2 kB / 1.116 GB, free: 5.844 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.641, allocations: 47.36 kB / 1.117 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.6411, allocations: 37.61 kB / 1.117 GB, free: 5.754 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.6412, allocations: 342.8 kB / 1.117 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002664/0.6415, allocations: 91.91 kB / 1.117 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002788/0.6418, allocations: 136.2 kB / 1.117 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/0.6423, allocations: 241.6 kB / 1.117 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.6423, allocations: 0 / 1.117 GB, free: 4.922 MB / 0.8731 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001074/0.6434, allocations: 345.8 kB / 1.118 GB, free: 4.574 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.6434, allocations: 8 kB / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6434, allocations: 0 / 1.118 GB, free: 4.566 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005675/0.644, allocations: 96.81 kB / 1.118 GB, free: 4.469 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.6442, allocations: 39.97 kB / 1.118 GB, free: 4.43 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.6462, allocations: 1.734 MB / 1.119 GB, free: 2.555 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002281/0.6464, allocations: 39.75 kB / 1.12 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.6464, allocations: 4 kB / 1.12 GB, free: 2.512 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * Single equations (assignments): 15 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001243/0.6466, allocations: 149.8 kB / 1.12 GB, free: 2.355 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.6466, allocations: 23.89 kB / 1.12 GB, free: 2.332 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.6477, allocations: 366.2 kB / 1.12 GB, free: 1.965 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.6477, allocations: 3.984 kB / 1.12 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.6477, allocations: 0 / 1.12 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.6477, allocations: 7.984 kB / 1.12 GB, free: 1.953 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.6492, allocations: 0.7707 MB / 1.121 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6492, allocations: 0 / 1.121 GB, free: 1.113 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.6494, allocations: 39.89 kB / 1.121 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004024/0.6498, allocations: 80.81 kB / 1.121 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6499, allocations: 8 kB / 1.121 GB, free: 0.9844 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.6515, allocations: 1.739 MB / 1.123 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6516, allocations: 0 / 1.123 GB, free: 15.1 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.6526, allocations: 462.3 kB / 1.123 GB, free: 14.62 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.6527, allocations: 124.7 kB / 1.123 GB, free: 14.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.6528, allocations: 3.938 kB / 1.123 GB, free: 14.47 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.653, allocations: 27.97 kB / 1.123 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.6531, allocations: 23.92 kB / 1.123 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.6531, allocations: 4 kB / 1.123 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0001531/0.6533, allocations: 190 kB / 1.123 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6533, allocations: 0 / 1.123 GB, free: 14.23 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000352/0.6536, allocations: 83.83 kB / 1.124 GB, free: 14.15 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 11 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/0.6551, allocations: 1.05 MB / 1.125 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0008777/0.656, allocations: 368.1 kB / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.656, allocations: 0 / 1.125 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005246/0.6565, allocations: 258.8 kB / 1.125 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.6572, allocations: 121.4 kB / 1.125 GB, free: 12.32 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.6614, allocations: 2.904 MB / 1.128 GB, free: 9.293 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.6616, allocations: 0.7714 MB / 1.129 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002034/0.6619, allocations: 62.23 kB / 1.129 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.662, allocations: 71.42 kB / 1.129 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of SimCode: time 4.01e-07/0.662, allocations: 0 / 1.129 GB, free: 8.367 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.547/3.209, allocations: 8.316 MB / 1.137 GB, free: 280 kB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/3.209, allocations: 281.9 kB / 1.137 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.451/6.66, allocations: 0 / 1.137 GB, free: 15.9 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches