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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.008512/0.008512, allocations: 101.3 kB / 15.73 MB, free: 6.004 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.002066/0.002066, allocations: 187 kB / 16.67 MB, free: 5.922 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.592/2.592, allocations: 469.4 MB / 0.7422 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 71.83 kB / 1.064 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.818/0.8195, allocations: 159.1 MB / 1.22 GB, free: 2.273 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.1759/0.9954, allocations: 161.5 MB / 1.377 GB, free: 152 kB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.004851/1, allocations: 3.494 MB / 1.381 GB, free: 12.64 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004094/1.001, allocations: 11.94 kB / 1.381 GB, free: 12.63 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0005783/1.001, allocations: 134.9 kB / 1.381 GB, free: 12.5 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/1.003, allocations: 473.9 kB / 1.381 GB, free: 12.04 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001668/1.005, allocations: 0.603 MB / 1.382 GB, free: 11.43 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0008476/1.005, allocations: 0.6205 MB / 1.383 GB, free: 10.81 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004361/1.006, allocations: 232.6 kB / 1.383 GB, free: 10.58 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001819/1.008, allocations: 356.8 kB / 1.383 GB, free: 10.25 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/1.008, allocations: 199.1 kB / 1.383 GB, free: 10.05 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 5.648e-05/1.008, allocations: 20 kB / 1.383 GB, free: 10.03 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009605/1.009, allocations: 0.5457 MB / 1.384 GB, free: 9.484 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0001285/1.009, allocations: 99.7 kB / 1.384 GB, free: 9.387 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.000181/1.009, allocations: 147.2 kB / 1.384 GB, free: 9.242 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0009879/1.01, allocations: 0.5566 MB / 1.385 GB, free: 8.688 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/1.01, allocations: 0 / 1.385 GB, free: 8.688 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.923e-06/1.01, allocations: 4 kB / 1.385 GB, free: 8.684 MB / 1.107 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.011, allocations: 0 / 1.385 GB, free: 8.684 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.001229/1.012, allocations: 0.6461 MB / 1.385 GB, free: 7.988 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.012, allocations: 8.625 kB / 1.385 GB, free: 7.98 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.11e-05/1.012, allocations: 58.55 kB / 1.385 GB, free: 7.914 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005403/1.012, allocations: 79.64 kB / 1.386 GB, free: 7.836 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/1.013, allocations: 305.5 kB / 1.386 GB, free: 7.5 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/1.013, allocations: 16.44 kB / 1.386 GB, free: 7.484 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.029e-05/1.013, allocations: 20 kB / 1.386 GB, free: 7.465 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/1.014, allocations: 312.1 kB / 1.386 GB, free: 7.137 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.014, allocations: 0 / 1.386 GB, free: 7.137 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/1.014, allocations: 12 kB / 1.386 GB, free: 7.125 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/1.014, allocations: 11.94 kB / 1.386 GB, free: 7.113 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006809/1.014, allocations: 244.9 kB / 1.386 GB, free: 6.875 MB / 1.107 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.001739/1.016, allocations: 1.248 MB / 1.388 GB, free: 5.512 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004766/1.017, allocations: 174.4 kB / 1.388 GB, free: 5.332 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/1.017, allocations: 132.8 kB / 1.388 GB, free: 5.199 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006277/1.018, allocations: 299.2 kB / 1.388 GB, free: 4.852 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.574e-05/1.018, allocations: 34.5 kB / 1.388 GB, free: 4.809 MB / 1.107 GB Notification: Performance of pre-optimization done (n=14): time 7.795e-06/1.018, allocations: 4 kB / 1.388 GB, free: 4.805 MB / 1.107 GB Notification: Performance of matching and sorting (n=14): time 0.002319/1.02, allocations: 0.5844 MB / 1.389 GB, free: 4.195 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.02, allocations: 51.41 kB / 1.389 GB, free: 4.133 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/1.02, allocations: 259 kB / 1.389 GB, free: 3.875 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/1.02, allocations: 29.7 kB / 1.389 GB, free: 3.84 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/1.021, allocations: 164.3 kB / 1.389 GB, free: 3.676 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.497e-05/1.021, allocations: 51.64 kB / 1.389 GB, free: 3.625 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.809e-05/1.021, allocations: 41.66 kB / 1.389 GB, free: 3.578 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001186/1.021, allocations: 334.8 kB / 1.39 GB, free: 3.242 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002897/1.021, allocations: 87.92 kB / 1.39 GB, free: 3.156 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000307/1.021, allocations: 144.2 kB / 1.39 GB, free: 3 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005833/1.022, allocations: 232.1 kB / 1.39 GB, free: 2.758 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/1.022, allocations: 0 / 1.39 GB, free: 2.758 MB / 1.107 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001156/1.023, allocations: 362 kB / 1.39 GB, free: 2.395 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.023, allocations: 4 kB / 1.39 GB, free: 2.391 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.023, allocations: 0 / 1.39 GB, free: 2.391 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005904/1.024, allocations: 92.83 kB / 1.391 GB, free: 2.297 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/1.024, allocations: 43.95 kB / 1.391 GB, free: 2.254 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002214/1.026, allocations: 1.728 MB / 1.392 GB, free: 396 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002605/1.027, allocations: 35.86 kB / 1.392 GB, free: 360 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/1.027, allocations: 4 kB / 1.392 GB, free: 356 kB / 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.0001606/1.027, allocations: 145.8 kB / 1.392 GB, free: 200 kB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/1.027, allocations: 27.81 kB / 1.393 GB, free: 172 kB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/1.028, allocations: 367.9 kB / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/1.028, allocations: 4 kB / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/1.028, allocations: 0 / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/1.028, allocations: 0 / 1.393 GB, free: 15.8 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/1.03, allocations: 0.7786 MB / 1.394 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/1.03, allocations: 0 / 1.394 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/1.03, allocations: 39.91 kB / 1.394 GB, free: 14.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004415/1.03, allocations: 92.73 kB / 1.394 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.796e-05/1.03, allocations: 4 kB / 1.394 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/1.032, allocations: 1.739 MB / 1.395 GB, free: 12.93 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/1.032, allocations: 4.062 kB / 1.395 GB, free: 12.92 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001109/1.034, allocations: 456.4 kB / 1.396 GB, free: 12.45 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/1.034, allocations: 124.9 kB / 1.396 GB, free: 12.31 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/1.034, allocations: 7.938 kB / 1.396 GB, free: 12.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/1.034, allocations: 23.97 kB / 1.396 GB, free: 12.28 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.301e-05/1.034, allocations: 23.91 kB / 1.396 GB, free: 12.25 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/1.034, allocations: 8 kB / 1.396 GB, free: 12.25 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0001739/1.034, allocations: 186 kB / 1.396 GB, free: 12.06 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.41e-07/1.034, allocations: 0 / 1.396 GB, free: 12.06 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0004152/1.035, allocations: 79.89 kB / 1.396 GB, free: 11.98 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.001728/1.036, allocations: 1.04 MB / 1.397 GB, free: 10.91 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0009929/1.037, allocations: 362.4 kB / 1.398 GB, free: 10.54 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/1.037, allocations: 4.25 kB / 1.398 GB, free: 10.54 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0005949/1.038, allocations: 262.4 kB / 1.398 GB, free: 10.27 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007159/1.039, allocations: 120.9 kB / 1.398 GB, free: 10.15 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/1.044, allocations: 2.824 MB / 1.401 GB, free: 7.207 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/1.044, allocations: 0.7714 MB / 1.402 GB, free: 6.41 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001986/1.044, allocations: 58.25 kB / 1.402 GB, free: 6.355 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/1.044, allocations: 79.42 kB / 1.402 GB, free: 6.277 MB / 1.123 GB Notification: Performance of SimCode: time 5.41e-07/1.044, allocations: 0 / 1.402 GB, free: 6.277 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02969/1.074, allocations: 8.678 MB / 1.41 GB, free: 13.81 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.47, allocations: 13.42 kB / 1.41 GB, free: 13.8 MB / 1.139 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv --start-time 0 --stop-time 120 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.048 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.csv","/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