Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00091/0.00091, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 169.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9073/0.9073, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.696/1.696, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.579e-05, allocations: 6.219 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5798/0.5798, allocations: 142.3 MB / 1.089 GB, free: 39.18 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.003636/0.5835, allocations: 3.248 MB / 1.093 GB, free: 38.86 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003504/0.5838, allocations: 13.12 kB / 1.093 GB, free: 38.85 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.5842, allocations: 140.8 kB / 1.093 GB, free: 38.8 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.5854, allocations: 469.9 kB / 1.093 GB, free: 38.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.5868, allocations: 0.6314 MB / 1.094 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.5874, allocations: 0.6247 MB / 1.094 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002953/0.5877, allocations: 185.8 kB / 1.095 GB, free: 38.66 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.5888, allocations: 428.4 kB / 1.095 GB, free: 38.63 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.589, allocations: 176.2 kB / 1.095 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.245e-05/0.589, allocations: 21.62 kB / 1.095 GB, free: 38.6 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000761/0.5898, allocations: 496.1 kB / 1.096 GB, free: 38.48 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.5899, allocations: 103.6 kB / 1.096 GB, free: 38.43 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.59, allocations: 96.11 kB / 1.096 GB, free: 38.4 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0007084/0.5907, allocations: 0.5767 MB / 1.096 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5907, allocations: 0 / 1.096 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.943e-06/0.5907, allocations: 0 / 1.096 GB, free: 38.24 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.5907, allocations: 2.625 kB / 1.096 GB, free: 38.24 MB / 0.9948 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.0007215/0.5914, allocations: 0.5736 MB / 1.097 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5914, allocations: 8.719 kB / 1.097 GB, free: 37.81 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.738e-05/0.5915, allocations: 53.84 kB / 1.097 GB, free: 37.76 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003889/0.5919, allocations: 86.47 kB / 1.097 GB, free: 37.73 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.5922, allocations: 244 kB / 1.097 GB, free: 37.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/0.5922, allocations: 12.47 kB / 1.097 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.5922, allocations: 21.06 kB / 1.097 GB, free: 37.54 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000411/0.5926, allocations: 366.6 kB / 1.098 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.5926, allocations: 4 kB / 1.098 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.991e-05/0.5926, allocations: 6.469 kB / 1.098 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.5927, allocations: 5.969 kB / 1.098 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.593, allocations: 247.9 kB / 1.098 GB, free: 37.25 MB / 0.9948 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.0009625/0.594, allocations: 0.9928 MB / 1.099 GB, free: 36.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002633/0.5942, allocations: 162.5 kB / 1.099 GB, free: 36.45 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000179/0.5944, allocations: 113.2 kB / 1.099 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003328/0.5948, allocations: 71.73 kB / 1.099 GB, free: 36.41 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.5948, allocations: 41.19 kB / 1.099 GB, free: 36.36 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=14): time 2.465e-06/0.5948, allocations: 4 kB / 1.099 GB, free: 36.36 MB / 0.9948 GB Notification: Performance of matching and sorting (n=14): time 0.001304/0.5961, allocations: 499.2 kB / 1.1 GB, free: 36.22 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.5961, allocations: 57.81 kB / 1.1 GB, free: 36.16 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.5963, allocations: 271.6 kB / 1.1 GB, free: 36 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.5964, allocations: 32.7 kB / 1.1 GB, free: 35.96 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.966e-05/0.5964, allocations: 170.6 kB / 1.1 GB, free: 35.82 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.5965, allocations: 45.19 kB / 1.1 GB, free: 35.79 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.5965, allocations: 37.72 kB / 1.1 GB, free: 35.76 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.525e-05/0.5966, allocations: 340.8 kB / 1.101 GB, free: 35.43 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.5968, allocations: 92.58 kB / 1.101 GB, free: 35.41 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002372/0.597, allocations: 161 kB / 1.101 GB, free: 35.32 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004306/0.5975, allocations: 239.5 kB / 1.101 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5975, allocations: 0.5312 kB / 1.101 GB, free: 35.21 MB / 0.9948 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007662/0.5982, allocations: 358 kB / 1.102 GB, free: 35.09 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.5983, allocations: 9.719 kB / 1.102 GB, free: 35.08 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.5983, allocations: 2.234 kB / 1.102 GB, free: 35.08 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003954/0.5987, allocations: 90.27 kB / 1.102 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.5988, allocations: 45.06 kB / 1.102 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/0.6001, allocations: 1.613 MB / 1.103 GB, free: 33.65 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/0.6003, allocations: 36.75 kB / 1.103 GB, free: 33.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.36e-05/0.6003, allocations: 10.86 kB / 1.103 GB, free: 33.63 MB / 0.9948 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.0001325/0.6004, allocations: 146.2 kB / 1.103 GB, free: 33.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.6005, allocations: 24.73 kB / 1.103 GB, free: 33.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006507/0.6011, allocations: 362.3 kB / 1.104 GB, free: 33.35 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.6011, allocations: 2.719 kB / 1.104 GB, free: 33.35 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.453e-06/0.6011, allocations: 0 / 1.104 GB, free: 33.35 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.6011, allocations: 10.14 kB / 1.104 GB, free: 33.34 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.6022, allocations: 0.7253 MB / 1.105 GB, free: 32.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.6022, allocations: 1.125 kB / 1.105 GB, free: 32.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.6023, allocations: 32.55 kB / 1.105 GB, free: 32.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.6025, allocations: 83.61 kB / 1.105 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.762e-05/0.6025, allocations: 2.344 kB / 1.105 GB, free: 32.88 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/0.6037, allocations: 1.642 MB / 1.106 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.6037, allocations: 1.516 kB / 1.106 GB, free: 31.45 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007289/0.6045, allocations: 450.4 kB / 1.107 GB, free: 31.2 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.892e-05/0.6046, allocations: 50.91 kB / 1.107 GB, free: 31.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.6046, allocations: 1.969 kB / 1.107 GB, free: 31.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/0.6047, allocations: 28.08 kB / 1.107 GB, free: 31.17 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.982e-05/0.6048, allocations: 21.97 kB / 1.107 GB, free: 31.16 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.6048, allocations: 6.562 kB / 1.107 GB, free: 31.16 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001487/0.605, allocations: 187 kB / 1.107 GB, free: 31.05 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9.1e-08/0.605, allocations: 0 / 1.107 GB, free: 31.05 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003988/0.6054, allocations: 87.75 kB / 1.107 GB, free: 31.03 MB / 0.9948 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.00108/0.6065, allocations: 1.024 MB / 1.108 GB, free: 30.25 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0007685/0.6072, allocations: 355.3 kB / 1.108 GB, free: 30.08 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.6072, allocations: 1.031 kB / 1.108 GB, free: 30.08 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.6076, allocations: 256.1 kB / 1.109 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.6081, allocations: 115.8 kB / 1.109 GB, free: 29.9 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003237/0.6113, allocations: 2.819 MB / 1.112 GB, free: 28.1 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.6115, allocations: 164.4 kB / 1.112 GB, free: 28.02 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0002039/0.6117, allocations: 59.91 kB / 1.112 GB, free: 28 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001017/0.6118, allocations: 75.94 kB / 1.112 GB, free: 27.95 MB / 0.9948 GB Notification: Performance of SimCode: time 1.122e-06/0.6118, allocations: 1.094 kB / 1.112 GB, free: 27.95 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03037/0.6422, allocations: 9.661 MB / 1.121 GB, free: 26.39 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.3/8.942, allocations: 7.297 kB / 1.121 GB, free: 26.39 MB / 0.9948 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.002742446959019]