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.007401/0.007401, allocations: 102.4 kB / 15.73 MB, free: 6.031 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.001691/0.001691, allocations: 197.2 kB / 16.67 MB, free: 5.969 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.336 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.299/2.299, allocations: 390.3 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 60.53 kB / 0.9504 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2812, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.169/0.4502, allocations: 161.5 MB / 1.245 GB, free: 15.87 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.004581/0.4548, allocations: 3.49 MB / 1.249 GB, free: 12.36 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003468/0.4552, allocations: 11.94 kB / 1.249 GB, free: 12.35 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000487/0.4558, allocations: 131 kB / 1.249 GB, free: 12.22 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001268/0.457, allocations: 445.9 kB / 1.249 GB, free: 11.79 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.4587, allocations: 0.5978 MB / 1.25 GB, free: 11.19 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0008522/0.4595, allocations: 0.6322 MB / 1.25 GB, free: 10.55 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004536/0.46, allocations: 218.5 kB / 1.251 GB, free: 10.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.4614, allocations: 346.8 kB / 1.251 GB, free: 10.02 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003539/0.4617, allocations: 199.1 kB / 1.251 GB, free: 9.82 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.125e-05/0.4618, allocations: 20 kB / 1.251 GB, free: 9.801 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001007/0.4628, allocations: 0.5533 MB / 1.252 GB, free: 9.246 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.463, allocations: 95.72 kB / 1.252 GB, free: 9.152 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.4632, allocations: 147.2 kB / 1.252 GB, free: 9.008 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0009917/0.4642, allocations: 0.5534 MB / 1.252 GB, free: 8.453 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4642, allocations: 4 kB / 1.252 GB, free: 8.449 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.223e-06/0.4642, allocations: 4 kB / 1.252 GB, free: 8.445 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.773e-05/0.4642, allocations: 0 / 1.252 GB, free: 8.445 MB / 1.014 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.001208/0.4654, allocations: 0.6272 MB / 1.253 GB, free: 7.77 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.4655, allocations: 12.03 kB / 1.253 GB, free: 7.758 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.579e-05/0.4655, allocations: 54.55 kB / 1.253 GB, free: 7.695 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005501/0.4661, allocations: 83.5 kB / 1.253 GB, free: 7.613 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/0.4666, allocations: 305.2 kB / 1.253 GB, free: 7.277 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.4666, allocations: 16.44 kB / 1.254 GB, free: 7.262 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.431e-05/0.4667, allocations: 20 kB / 1.254 GB, free: 7.242 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006623/0.4673, allocations: 312.2 kB / 1.254 GB, free: 6.914 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.4674, allocations: 0 / 1.254 GB, free: 6.914 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.544e-05/0.4674, allocations: 11.94 kB / 1.254 GB, free: 6.902 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.4674, allocations: 11.94 kB / 1.254 GB, free: 6.891 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.4681, allocations: 248.6 kB / 1.254 GB, free: 6.648 MB / 1.014 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.0017/0.4698, allocations: 1.248 MB / 1.255 GB, free: 5.289 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004519/0.4703, allocations: 170.5 kB / 1.255 GB, free: 5.113 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003145/0.4706, allocations: 124.8 kB / 1.256 GB, free: 4.988 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005898/0.4712, allocations: 303.2 kB / 1.256 GB, free: 4.637 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.4712, allocations: 34.56 kB / 1.256 GB, free: 4.594 MB / 1.014 GB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.4712, allocations: 0 / 1.256 GB, free: 4.594 MB / 1.014 GB Notification: Performance of matching and sorting (n=14): time 0.002187/0.4734, allocations: 0.577 MB / 1.256 GB, free: 3.988 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.4735, allocations: 55.41 kB / 1.257 GB, free: 3.922 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.4737, allocations: 255 kB / 1.257 GB, free: 3.664 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.4738, allocations: 29.7 kB / 1.257 GB, free: 3.629 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4739, allocations: 168.1 kB / 1.257 GB, free: 3.461 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.4739, allocations: 47.3 kB / 1.257 GB, free: 3.414 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.474, allocations: 41.7 kB / 1.257 GB, free: 3.367 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4742, allocations: 334.8 kB / 1.257 GB, free: 3.031 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.4745, allocations: 87.92 kB / 1.257 GB, free: 2.945 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003301/0.4748, allocations: 150.2 kB / 1.258 GB, free: 2.785 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005987/0.4754, allocations: 238.3 kB / 1.258 GB, free: 2.539 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.4754, allocations: 0 / 1.258 GB, free: 2.539 MB / 1.014 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001151/0.4766, allocations: 357.8 kB / 1.258 GB, free: 2.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.4766, allocations: 4 kB / 1.258 GB, free: 2.176 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.4766, allocations: 0 / 1.258 GB, free: 2.176 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.4772, allocations: 88.89 kB / 1.258 GB, free: 2.086 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.4775, allocations: 47.89 kB / 1.258 GB, free: 2.039 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.4796, allocations: 1.717 MB / 1.26 GB, free: 180 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.4799, allocations: 35.77 kB / 1.26 GB, free: 144 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.4799, allocations: 7.984 kB / 1.26 GB, free: 136 kB / 1.014 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.5326/1.013, allocations: 142.1 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/1.013, allocations: 23 kB / 1.26 GB, free: 176 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/1.014, allocations: 369.7 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/1.014, allocations: 1.594 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/1.014, allocations: 0.5625 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/1.014, allocations: 1.203 kB / 1.261 GB, free: 175.9 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001701/1.016, allocations: 0.7786 MB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.016, allocations: 2.234 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/1.016, allocations: 35.28 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004535/1.016, allocations: 85.95 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/1.016, allocations: 2.188 kB / 1.261 GB, free: 175.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001656/1.018, allocations: 1.751 MB / 1.263 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/1.018, allocations: 0.8125 kB / 1.263 GB, free: 174.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/1.019, allocations: 451.8 kB / 1.264 GB, free: 174.1 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/1.019, allocations: 122.5 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.041e-05/1.019, allocations: 4.812 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002409/1.02, allocations: 29.23 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.837e-05/1.02, allocations: 17.36 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/1.02, allocations: 7.359 kB / 1.264 GB, free: 174 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001875/1.02, allocations: 186.3 kB / 1.264 GB, free: 173.9 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.2e-07/1.02, allocations: 0 / 1.264 GB, free: 173.9 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0004246/1.02, allocations: 85.81 kB / 1.264 GB, free: 173.9 MB / 1.014 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.001577/1.022, allocations: 1.042 MB / 1.265 GB, free: 173.2 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001041/1.023, allocations: 366.3 kB / 1.265 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.023, allocations: 0 / 1.265 GB, free: 173.1 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005808/1.024, allocations: 257.8 kB / 1.266 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/1.024, allocations: 125.9 kB / 1.266 GB, free: 173 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/1.029, allocations: 2.809 MB / 1.268 GB, free: 171.3 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/1.029, allocations: 0.7732 MB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002154/1.029, allocations: 60.33 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/1.03, allocations: 80 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/1.03, allocations: 0.7812 kB / 1.269 GB, free: 170.6 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/1.063, allocations: 8.841 MB / 1.278 GB, free: 169.7 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/12.31, allocations: 3.906 kB / 1.278 GB, free: 169.7 MB / 1.014 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