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) 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 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004687/0.004687, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001276/0.001276, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.228/1.228, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.516/2.516, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001649/0.001649, allocations: 67.89 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2567, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.6193/0.876, allocations: 161.5 MB / 1.4 GB, free: 12.86 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.004282/0.8803, allocations: 3.499 MB / 1.403 GB, free: 10.05 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.8806, allocations: 10.91 kB / 1.403 GB, free: 10.04 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.881, allocations: 129.4 kB / 1.403 GB, free: 9.93 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0009893/0.882, allocations: 448.6 kB / 1.404 GB, free: 9.594 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.8833, allocations: 0.5926 MB / 1.404 GB, free: 9.152 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006365/0.8839, allocations: 0.6232 MB / 1.405 GB, free: 8.789 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000304/0.8842, allocations: 227.2 kB / 1.405 GB, free: 8.656 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001296/0.8855, allocations: 494.2 kB / 1.405 GB, free: 8.375 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002367/0.8858, allocations: 191.3 kB / 1.406 GB, free: 8.258 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.99e-05/0.8858, allocations: 23.06 kB / 1.406 GB, free: 8.258 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000739/0.8866, allocations: 0.544 MB / 1.406 GB, free: 7.961 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.876e-05/0.8867, allocations: 91.41 kB / 1.406 GB, free: 7.898 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001371/0.8868, allocations: 140.9 kB / 1.406 GB, free: 7.809 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0007052/0.8875, allocations: 0.5574 MB / 1.407 GB, free: 7.465 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.8875, allocations: 0 / 1.407 GB, free: 7.465 MB / 1.107 GB Notification: Performance of FrontEnd: time 9.42e-07/0.8875, allocations: 0 / 1.407 GB, free: 7.465 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.8876, allocations: 1.188 kB / 1.407 GB, free: 7.465 MB / 1.107 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.0008969/0.8885, allocations: 0.6485 MB / 1.408 GB, free: 6.887 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.825e-05/0.8885, allocations: 9.438 kB / 1.408 GB, free: 6.887 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.436e-05/0.8886, allocations: 62.45 kB / 1.408 GB, free: 6.824 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000414/0.889, allocations: 77.06 kB / 1.408 GB, free: 6.789 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.8893, allocations: 307.7 kB / 1.408 GB, free: 6.496 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.8894, allocations: 16.16 kB / 1.408 GB, free: 6.484 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.8894, allocations: 16.69 kB / 1.408 GB, free: 6.48 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000554/0.89, allocations: 317.2 kB / 1.408 GB, free: 6.273 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.89, allocations: 1.281 kB / 1.408 GB, free: 6.273 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.439e-05/0.89, allocations: 10.59 kB / 1.408 GB, free: 6.266 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.89, allocations: 8.125 kB / 1.408 GB, free: 6.262 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005963/0.8906, allocations: 249.9 kB / 1.409 GB, free: 6.148 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/0.892, allocations: 1.244 MB / 1.41 GB, free: 4.992 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003839/0.8924, allocations: 179.4 kB / 1.41 GB, free: 4.891 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002835/0.8927, allocations: 127.1 kB / 1.41 GB, free: 4.824 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005046/0.8932, allocations: 298.8 kB / 1.41 GB, free: 4.52 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.8932, allocations: 39.94 kB / 1.41 GB, free: 4.473 MB / 1.107 GB Notification: Performance of pre-optimization done (n=14): time 2.575e-06/0.8933, allocations: 1.312 kB / 1.41 GB, free: 4.473 MB / 1.107 GB Notification: Performance of matching and sorting (n=14): time 0.00194/0.8952, allocations: 0.5684 MB / 1.411 GB, free: 4.125 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.8952, allocations: 52.91 kB / 1.411 GB, free: 4.062 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002239/0.8955, allocations: 261.4 kB / 1.411 GB, free: 3.875 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.8955, allocations: 30.89 kB / 1.411 GB, free: 3.84 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.8956, allocations: 169.5 kB / 1.411 GB, free: 3.684 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.8957, allocations: 54.38 kB / 1.412 GB, free: 3.637 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.8957, allocations: 34.86 kB / 1.412 GB, free: 3.609 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.8959, allocations: 336 kB / 1.412 GB, free: 3.277 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.8961, allocations: 94.86 kB / 1.412 GB, free: 3.234 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002889/0.8964, allocations: 140.8 kB / 1.412 GB, free: 3.141 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005355/0.897, allocations: 243.9 kB / 1.412 GB, free: 2.996 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.897, allocations: 0 / 1.412 GB, free: 2.996 MB / 1.107 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001064/0.898, allocations: 355.3 kB / 1.413 GB, free: 2.801 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.8981, allocations: 6.969 kB / 1.413 GB, free: 2.801 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.8981, allocations: 0 / 1.413 GB, free: 2.801 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005194/0.8986, allocations: 88.7 kB / 1.413 GB, free: 2.758 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.8988, allocations: 49.64 kB / 1.413 GB, free: 2.738 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02647/0.9253, allocations: 1.723 MB / 1.415 GB, free: 1.094 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002631/0.9255, allocations: 38.08 kB / 1.415 GB, free: 1.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.9256, allocations: 5.844 kB / 1.415 GB, free: 1.07 MB / 1.107 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.000171/0.9258, allocations: 150 kB / 1.415 GB, free: 0.9297 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.481e-05/0.9258, allocations: 23.11 kB / 1.415 GB, free: 0.918 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.927, allocations: 372.5 kB / 1.415 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.927, allocations: 1.062 kB / 1.415 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.927, allocations: 1.25 kB / 1.415 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.927, allocations: 0 / 1.415 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.9284, allocations: 0.7824 MB / 1.416 GB, free: 88 kB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.9284, allocations: 1.156 kB / 1.416 GB, free: 88 kB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.9286, allocations: 32 kB / 1.416 GB, free: 80 kB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000386/0.929, allocations: 84.2 kB / 1.416 GB, free: 32 kB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.929, allocations: 10.25 kB / 1.416 GB, free: 24 kB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001776/0.9308, allocations: 1.734 MB / 1.418 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9308, allocations: 1.094 kB / 1.418 GB, free: 14.37 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.9318, allocations: 453.9 kB / 1.418 GB, free: 14.05 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.9319, allocations: 131.5 kB / 1.418 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.932, allocations: 2.656 kB / 1.418 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.9322, allocations: 27.19 kB / 1.418 GB, free: 13.91 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.08e-05/0.9323, allocations: 19.77 kB / 1.418 GB, free: 13.9 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.712e-05/0.9323, allocations: 5.375 kB / 1.418 GB, free: 13.9 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001532/0.9325, allocations: 193.9 kB / 1.418 GB, free: 13.77 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9325, allocations: 0 / 1.418 GB, free: 13.77 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0003222/0.9328, allocations: 81.7 kB / 1.419 GB, free: 13.75 MB / 1.123 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.001491/0.9343, allocations: 1.045 MB / 1.42 GB, free: 12.87 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0008534/0.9352, allocations: 370.2 kB / 1.42 GB, free: 12.64 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9352, allocations: 0 / 1.42 GB, free: 12.64 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005245/0.9357, allocations: 266.5 kB / 1.42 GB, free: 12.45 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/0.9363, allocations: 117.9 kB / 1.42 GB, free: 12.39 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004084/0.9404, allocations: 2.822 MB / 1.423 GB, free: 10.28 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.9408, allocations: 0.7723 MB / 1.424 GB, free: 9.539 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001562/0.9409, allocations: 63.86 kB / 1.424 GB, free: 9.508 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.941, allocations: 72.36 kB / 1.424 GB, free: 9.449 MB / 1.123 GB Notification: Performance of SimCode: time 1.784e-06/0.941, allocations: 0 / 1.424 GB, free: 9.449 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.467/3.408, allocations: 8.698 MB / 1.432 GB, free: 3.418 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.49/19.9, allocations: 3.094 kB / 1.432 GB, free: 3.418 MB / 1.123 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches