Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007297/0.0007297, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0008204/0.0008204, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.8928/0.8928, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.711/1.711, allocations: 389 MB / 0.633 GB, free: 12.65 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.28e-06/5.28e-06, allocations: 3.984 kB / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.967e-05, allocations: 12.89 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5628/0.5628, allocations: 142.3 MB / 1.139 GB, free: 11.35 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.003759/0.5666, allocations: 3.228 MB / 1.142 GB, free: 9.211 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003247/0.5669, allocations: 14.78 kB / 1.142 GB, free: 9.203 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0004232/0.5673, allocations: 135.9 kB / 1.142 GB, free: 9.113 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/0.5684, allocations: 469.2 kB / 1.142 GB, free: 8.863 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.5699, allocations: 0.6205 MB / 1.143 GB, free: 8.562 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0006323/0.5706, allocations: 0.6035 MB / 1.144 GB, free: 8.281 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.5708, allocations: 167.7 kB / 1.144 GB, free: 8.211 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.5722, allocations: 0.5742 MB / 1.144 GB, free: 7.977 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002224/0.5724, allocations: 173.5 kB / 1.144 GB, free: 7.922 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.649e-05/0.5725, allocations: 22.62 kB / 1.144 GB, free: 7.922 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008444/0.5733, allocations: 478.3 kB / 1.145 GB, free: 7.758 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.5734, allocations: 100.3 kB / 1.145 GB, free: 7.711 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001053/0.5735, allocations: 101.9 kB / 1.145 GB, free: 7.668 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0007664/0.5743, allocations: 0.5696 MB / 1.146 GB, free: 7.473 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.5743, allocations: 0 / 1.146 GB, free: 7.473 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.704e-06/0.5743, allocations: 0 / 1.146 GB, free: 7.473 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.5743, allocations: 9.281 kB / 1.146 GB, free: 7.465 MB / 1.01 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.0007498/0.5751, allocations: 0.558 MB / 1.146 GB, free: 7.039 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5751, allocations: 10.47 kB / 1.146 GB, free: 7.039 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.356e-05/0.5752, allocations: 54.03 kB / 1.146 GB, free: 6.988 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/0.5755, allocations: 81.16 kB / 1.146 GB, free: 6.965 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003124/0.5758, allocations: 241 kB / 1.147 GB, free: 6.777 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.5758, allocations: 20.84 kB / 1.147 GB, free: 6.77 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.5759, allocations: 16.41 kB / 1.147 GB, free: 6.766 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004802/0.5763, allocations: 366.4 kB / 1.147 GB, free: 6.559 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.5764, allocations: 4.453 kB / 1.147 GB, free: 6.555 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.211e-05/0.5764, allocations: 11.12 kB / 1.147 GB, free: 6.547 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.5764, allocations: 5.438 kB / 1.147 GB, free: 6.547 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004055/0.5768, allocations: 248.7 kB / 1.147 GB, free: 6.484 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001084/0.5779, allocations: 0.9938 MB / 1.148 GB, free: 5.723 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002865/0.5782, allocations: 161 kB / 1.148 GB, free: 5.664 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.5784, allocations: 131.9 kB / 1.148 GB, free: 5.617 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/0.5786, allocations: 72.2 kB / 1.149 GB, free: 5.613 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.5787, allocations: 32 kB / 1.149 GB, free: 5.574 MB / 1.01 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.5787, allocations: 0 / 1.149 GB, free: 5.574 MB / 1.01 GB Notification: Performance of matching and sorting (n=14): time 0.001274/0.5799, allocations: 0.4978 MB / 1.149 GB, free: 5.43 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.438e-05/0.58, allocations: 57.2 kB / 1.149 GB, free: 5.363 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000222/0.5802, allocations: 251 kB / 1.149 GB, free: 5.219 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.5802, allocations: 26.92 kB / 1.149 GB, free: 5.188 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.833e-05/0.5803, allocations: 168.5 kB / 1.15 GB, free: 5.043 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.783e-05/0.5803, allocations: 53.11 kB / 1.15 GB, free: 5 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.5804, allocations: 33.62 kB / 1.15 GB, free: 4.977 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5805, allocations: 332.7 kB / 1.15 GB, free: 4.656 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000183/0.5807, allocations: 100.6 kB / 1.15 GB, free: 4.629 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.5809, allocations: 160.1 kB / 1.15 GB, free: 4.535 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.5813, allocations: 242.4 kB / 1.15 GB, free: 4.434 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.5813, allocations: 1.062 kB / 1.15 GB, free: 4.434 MB / 1.01 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006602/0.5819, allocations: 350.6 kB / 1.151 GB, free: 4.309 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.5819, allocations: 5.938 kB / 1.151 GB, free: 4.309 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.5819, allocations: 1.781 kB / 1.151 GB, free: 4.309 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/0.5823, allocations: 88.8 kB / 1.151 GB, free: 4.289 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.5824, allocations: 47.3 kB / 1.151 GB, free: 4.281 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.5839, allocations: 1.613 MB / 1.152 GB, free: 2.871 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.5841, allocations: 37.09 kB / 1.153 GB, free: 2.855 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.5841, allocations: 9.812 kB / 1.153 GB, free: 2.852 MB / 1.01 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.0001431/0.5842, allocations: 147.1 kB / 1.153 GB, free: 2.719 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.5843, allocations: 26.95 kB / 1.153 GB, free: 2.703 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006591/0.5849, allocations: 367.5 kB / 1.153 GB, free: 2.566 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/0.5849, allocations: 2.469 kB / 1.153 GB, free: 2.566 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.5849, allocations: 0.7031 kB / 1.153 GB, free: 2.566 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5849, allocations: 1.719 kB / 1.153 GB, free: 2.566 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.586, allocations: 0.7146 MB / 1.154 GB, free: 2.137 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.586, allocations: 5.281 kB / 1.154 GB, free: 2.133 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.971e-05/0.5861, allocations: 37.84 kB / 1.154 GB, free: 2.129 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/0.5863, allocations: 75.36 kB / 1.154 GB, free: 2.113 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.5863, allocations: 6.25 kB / 1.154 GB, free: 2.109 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.5877, allocations: 1.638 MB / 1.155 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.5877, allocations: 2.594 kB / 1.155 GB, free: 0.6797 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006759/0.5884, allocations: 463.3 kB / 1.156 GB, free: 436 kB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.036e-05/0.5885, allocations: 42.03 kB / 1.156 GB, free: 416 kB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.5885, allocations: 2.938 kB / 1.156 GB, free: 416 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.5886, allocations: 24.36 kB / 1.156 GB, free: 412 kB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.651e-05/0.5887, allocations: 26.41 kB / 1.156 GB, free: 400 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.575e-05/0.5887, allocations: 5.516 kB / 1.156 GB, free: 400 kB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001587/0.5889, allocations: 187.3 kB / 1.156 GB, free: 288 kB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.5889, allocations: 1.156 kB / 1.156 GB, free: 288 kB / 1.01 GB Notification: Performance of remove unused functions: time 0.000379/0.5892, allocations: 86.27 kB / 1.156 GB, free: 268 kB / 1.01 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.001158/0.5904, allocations: 1.023 MB / 1.157 GB, free: 15.48 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0007272/0.5911, allocations: 365.3 kB / 1.158 GB, free: 15.3 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5911, allocations: 0 / 1.158 GB, free: 15.3 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0003434/0.5915, allocations: 254.6 kB / 1.158 GB, free: 15.15 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/0.592, allocations: 113 kB / 1.158 GB, free: 15.12 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003314/0.5953, allocations: 2.8 MB / 1.161 GB, free: 13.31 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.5954, allocations: 161.1 kB / 1.161 GB, free: 13.23 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001777/0.5956, allocations: 57.88 kB / 1.161 GB, free: 13.22 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.735e-05/0.5957, allocations: 75.78 kB / 1.161 GB, free: 13.16 MB / 1.026 GB Notification: Performance of SimCode: time 6.81e-07/0.5957, allocations: 0 / 1.161 GB, free: 13.16 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.621, allocations: 9.417 MB / 1.17 GB, free: 11.64 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/8.077, allocations: 15.3 kB / 1.17 GB, free: 11.63 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 12.042290330864489]