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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001556, allocations: 106.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.094/3.094, allocations: 497.2 MB / 0.7811 GB, free: 33.69 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.0019/0.0019, allocations: 70 kB / 1.134 GB, free: 33.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3292, allocations: 173.9 MB / 1.304 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1854/0.5146, allocations: 162 MB / 1.462 GB, free: 14.98 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.006086/0.5206, allocations: 3.515 MB / 1.466 GB, free: 11.46 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004261/0.5211, allocations: 11.88 kB / 1.466 GB, free: 11.45 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0005224/0.5216, allocations: 131 kB / 1.466 GB, free: 11.32 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001386/0.523, allocations: 477.8 kB / 1.466 GB, free: 10.85 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.00166/0.5246, allocations: 0.6033 MB / 1.467 GB, free: 10.25 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0008688/0.5255, allocations: 0.6205 MB / 1.467 GB, free: 9.625 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003823/0.5259, allocations: 204.6 kB / 1.468 GB, free: 9.426 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001827/0.5277, allocations: 0.491 MB / 1.468 GB, free: 8.945 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.528, allocations: 199.2 kB / 1.468 GB, free: 8.75 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 5.046e-05/0.5281, allocations: 24 kB / 1.468 GB, free: 8.727 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.5291, allocations: 0.569 MB / 1.469 GB, free: 8.156 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.5292, allocations: 103.6 kB / 1.469 GB, free: 8.055 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.5294, allocations: 143.3 kB / 1.469 GB, free: 7.914 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009907/0.5304, allocations: 0.5528 MB / 1.47 GB, free: 7.359 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5304, allocations: 0 / 1.47 GB, free: 7.359 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5304, allocations: 0 / 1.47 GB, free: 7.359 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.5304, allocations: 0 / 1.47 GB, free: 7.359 MB / 1.17 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.001181/0.5316, allocations: 0.6539 MB / 1.47 GB, free: 6.656 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.5316, allocations: 8.625 kB / 1.47 GB, free: 6.648 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.642e-05/0.5317, allocations: 54.55 kB / 1.47 GB, free: 6.586 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005249/0.5322, allocations: 75.69 kB / 1.47 GB, free: 6.512 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.5327, allocations: 309.5 kB / 1.471 GB, free: 6.168 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.5327, allocations: 16.38 kB / 1.471 GB, free: 6.152 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.376e-05/0.5328, allocations: 24 kB / 1.471 GB, free: 6.129 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000657/0.5334, allocations: 312.1 kB / 1.471 GB, free: 5.805 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.5334, allocations: 0 / 1.471 GB, free: 5.805 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.927e-05/0.5335, allocations: 12 kB / 1.471 GB, free: 5.793 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.5335, allocations: 7.938 kB / 1.471 GB, free: 5.785 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.5342, allocations: 248.9 kB / 1.471 GB, free: 5.543 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001788/0.5359, allocations: 1.256 MB / 1.473 GB, free: 4.172 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.5364, allocations: 162.5 kB / 1.473 GB, free: 4.004 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003263/0.5367, allocations: 124.7 kB / 1.473 GB, free: 3.879 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006305/0.5373, allocations: 303.2 kB / 1.473 GB, free: 3.527 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.769e-05/0.5374, allocations: 30.56 kB / 1.473 GB, free: 3.488 MB / 1.17 GB Notification: Performance of pre-optimization done (n=14): time 1.733e-06/0.5374, allocations: 0 / 1.473 GB, free: 3.488 MB / 1.17 GB Notification: Performance of matching and sorting (n=14): time 0.002349/0.5397, allocations: 0.5771 MB / 1.474 GB, free: 2.883 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.5398, allocations: 55.41 kB / 1.474 GB, free: 2.816 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.54, allocations: 255 kB / 1.474 GB, free: 2.555 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.5401, allocations: 29.7 kB / 1.474 GB, free: 2.52 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.5402, allocations: 164.3 kB / 1.474 GB, free: 2.355 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.5403, allocations: 55.53 kB / 1.474 GB, free: 2.301 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.5403, allocations: 41.61 kB / 1.474 GB, free: 2.254 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.5405, allocations: 334.8 kB / 1.475 GB, free: 1.918 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000299/0.5408, allocations: 91.92 kB / 1.475 GB, free: 1.828 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.5411, allocations: 140.2 kB / 1.475 GB, free: 1.676 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005879/0.5417, allocations: 232.1 kB / 1.475 GB, free: 1.434 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5417, allocations: 0 / 1.475 GB, free: 1.434 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001179/0.5429, allocations: 365.6 kB / 1.475 GB, free: 1.07 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.5429, allocations: 8 kB / 1.475 GB, free: 1.062 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5429, allocations: 0 / 1.475 GB, free: 1.062 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006414/0.5436, allocations: 88.89 kB / 1.475 GB, free: 0.9727 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.5438, allocations: 43.89 kB / 1.476 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002463/0.5463, allocations: 1.725 MB / 1.477 GB, free: 15.06 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.5465, allocations: 31.86 kB / 1.477 GB, free: 15.03 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.5466, allocations: 8.062 kB / 1.477 GB, free: 15.02 MB / 1.186 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.0001756/0.5467, allocations: 153.7 kB / 1.477 GB, free: 14.86 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.204e-05/0.5468, allocations: 27.81 kB / 1.477 GB, free: 14.84 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00122/0.548, allocations: 365.9 kB / 1.478 GB, free: 14.47 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.548, allocations: 0 / 1.478 GB, free: 14.47 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.548, allocations: 4 kB / 1.478 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.548, allocations: 0 / 1.478 GB, free: 14.46 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.5499, allocations: 0.7746 MB / 1.479 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.5499, allocations: 0 / 1.479 GB, free: 13.62 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.5501, allocations: 35.97 kB / 1.479 GB, free: 13.59 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004635/0.5505, allocations: 84.8 kB / 1.479 GB, free: 13.5 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.284e-05/0.5506, allocations: 11.98 kB / 1.479 GB, free: 13.49 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002176/0.5527, allocations: 1.74 MB / 1.48 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5527, allocations: 0 / 1.48 GB, free: 11.61 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/0.5539, allocations: 458.5 kB / 1.481 GB, free: 11.13 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.5541, allocations: 120.9 kB / 1.481 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.5541, allocations: 3.938 kB / 1.481 GB, free: 10.99 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002533/0.5544, allocations: 23.97 kB / 1.481 GB, free: 10.96 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.997e-05/0.5545, allocations: 19.92 kB / 1.481 GB, free: 10.95 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.5545, allocations: 11.98 kB / 1.481 GB, free: 10.93 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002098/0.5547, allocations: 190 kB / 1.481 GB, free: 10.75 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.5547, allocations: 0 / 1.481 GB, free: 10.75 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004305/0.5551, allocations: 83.83 kB / 1.481 GB, free: 10.67 MB / 1.186 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.00182/0.5569, allocations: 1.05 MB / 1.482 GB, free: 9.586 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.558, allocations: 346.6 kB / 1.483 GB, free: 9.234 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.558, allocations: 0 / 1.483 GB, free: 9.234 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006098/0.5586, allocations: 258.7 kB / 1.483 GB, free: 8.969 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000792/0.5594, allocations: 124.9 kB / 1.483 GB, free: 8.848 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005435/0.5648, allocations: 2.816 MB / 1.486 GB, free: 5.895 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.5653, allocations: 0.7753 MB / 1.486 GB, free: 5.094 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002368/0.5655, allocations: 58.25 kB / 1.486 GB, free: 5.039 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.5656, allocations: 71.42 kB / 1.487 GB, free: 4.973 MB / 1.186 GB Notification: Performance of SimCode: time 8.21e-07/0.5656, allocations: 0 / 1.487 GB, free: 4.973 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04097/0.6066, allocations: 8.736 MB / 1.495 GB, free: 12.45 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.8, allocations: 13.27 kB / 1.495 GB, free: 12.44 MB / 1.201 GB " [Timeout remaining time 287] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 19.33852310013026]