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.007529/0.007534, allocations: 100.9 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.001959/0.001959, allocations: 193.7 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.766/2.766, allocations: 482.4 MB / 0.7548 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 60.66 kB / 1.083 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2941, allocations: 162.2 MB / 1.241 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2136/0.5077, allocations: 161.5 MB / 1.399 GB, free: 7.211 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.004933/0.5127, allocations: 3.489 MB / 1.403 GB, free: 3.715 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.513, allocations: 11.94 kB / 1.403 GB, free: 3.703 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.000403/0.5134, allocations: 131 kB / 1.403 GB, free: 3.574 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.001166/0.5146, allocations: 449.9 kB / 1.403 GB, free: 3.133 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001555/0.5161, allocations: 0.5991 MB / 1.404 GB, free: 2.535 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0007571/0.5169, allocations: 0.6244 MB / 1.404 GB, free: 1.91 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000377/0.5173, allocations: 224.7 kB / 1.405 GB, free: 1.695 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001626/0.5189, allocations: 486.8 kB / 1.405 GB, free: 1.23 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.5192, allocations: 195.2 kB / 1.405 GB, free: 1.039 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 4.879e-05/0.5193, allocations: 20 kB / 1.405 GB, free: 1.02 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009498/0.5203, allocations: 0.5457 MB / 1.406 GB, free: 484 kB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0001129/0.5204, allocations: 91.78 kB / 1.406 GB, free: 392 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.5205, allocations: 143.3 kB / 1.406 GB, free: 248 kB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0008655/0.5214, allocations: 0.5605 MB / 1.407 GB, free: 15.68 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.5214, allocations: 0 / 1.407 GB, free: 15.68 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5214, allocations: 0 / 1.407 GB, free: 15.68 MB / 1.139 GB Notification: Performance of Transformations before backend: time 1.041e-05/0.5215, allocations: 0 / 1.407 GB, free: 15.68 MB / 1.139 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.001109/0.5226, allocations: 0.6461 MB / 1.407 GB, free: 14.98 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.5226, allocations: 8.031 kB / 1.407 GB, free: 14.98 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.475e-05/0.5227, allocations: 54.55 kB / 1.407 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004972/0.5232, allocations: 83.69 kB / 1.407 GB, free: 14.83 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000418/0.5236, allocations: 313.5 kB / 1.408 GB, free: 14.48 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.5236, allocations: 20.38 kB / 1.408 GB, free: 14.46 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.5237, allocations: 16 kB / 1.408 GB, free: 14.45 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006749/0.5244, allocations: 316.2 kB / 1.408 GB, free: 14.12 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5244, allocations: 0 / 1.408 GB, free: 14.12 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.5244, allocations: 8 kB / 1.408 GB, free: 14.11 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.5244, allocations: 11.94 kB / 1.408 GB, free: 14.1 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007103/0.5252, allocations: 248.8 kB / 1.408 GB, free: 13.86 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/0.5268, allocations: 1.244 MB / 1.409 GB, free: 12.5 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004722/0.5273, allocations: 174.5 kB / 1.41 GB, free: 12.32 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/0.5277, allocations: 128.7 kB / 1.41 GB, free: 12.19 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006164/0.5283, allocations: 303.2 kB / 1.41 GB, free: 11.84 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.5283, allocations: 34.56 kB / 1.41 GB, free: 11.8 MB / 1.139 GB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.5284, allocations: 0 / 1.41 GB, free: 11.8 MB / 1.139 GB Notification: Performance of matching and sorting (n=14): time 0.002391/0.5308, allocations: 0.5807 MB / 1.411 GB, free: 11.19 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.5308, allocations: 55.41 kB / 1.411 GB, free: 11.12 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.5311, allocations: 263 kB / 1.411 GB, free: 10.86 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.5311, allocations: 25.7 kB / 1.411 GB, free: 10.82 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.000137/0.5313, allocations: 168.3 kB / 1.411 GB, free: 10.66 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.5313, allocations: 51.62 kB / 1.411 GB, free: 10.61 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.059e-05/0.5314, allocations: 37.61 kB / 1.411 GB, free: 10.56 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001709/0.5316, allocations: 338.8 kB / 1.412 GB, free: 10.22 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003218/0.5319, allocations: 95.91 kB / 1.412 GB, free: 10.13 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.5323, allocations: 136.1 kB / 1.412 GB, free: 9.98 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.5329, allocations: 236.1 kB / 1.412 GB, free: 9.734 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.533, allocations: 4 kB / 1.412 GB, free: 9.73 MB / 1.139 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001279/0.5342, allocations: 354 kB / 1.412 GB, free: 9.375 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5343, allocations: 6.344 kB / 1.412 GB, free: 9.371 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5343, allocations: 0 / 1.412 GB, free: 9.371 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006472/0.5349, allocations: 92.88 kB / 1.412 GB, free: 9.277 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002387/0.5352, allocations: 39.97 kB / 1.412 GB, free: 9.238 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/0.5377, allocations: 1.723 MB / 1.414 GB, free: 7.371 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002526/0.538, allocations: 35.92 kB / 1.414 GB, free: 7.336 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.82e-05/0.538, allocations: 12 kB / 1.414 GB, free: 7.324 MB / 1.139 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.000182/0.5382, allocations: 145.8 kB / 1.414 GB, free: 7.172 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.03e-05/0.5383, allocations: 23.86 kB / 1.414 GB, free: 7.148 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.5395, allocations: 367.9 kB / 1.415 GB, free: 6.781 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.5396, allocations: 4 kB / 1.415 GB, free: 6.777 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.5396, allocations: 0 / 1.415 GB, free: 6.777 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.5396, allocations: 4 kB / 1.415 GB, free: 6.773 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.5414, allocations: 0.7824 MB / 1.415 GB, free: 5.922 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5414, allocations: 0 / 1.415 GB, free: 5.922 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.5416, allocations: 35.91 kB / 1.415 GB, free: 5.887 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004691/0.5421, allocations: 84.8 kB / 1.416 GB, free: 5.801 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.5421, allocations: 3.938 kB / 1.416 GB, free: 5.797 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002171/0.5443, allocations: 1.735 MB / 1.417 GB, free: 3.914 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5443, allocations: 7.938 kB / 1.417 GB, free: 3.906 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.5455, allocations: 456.2 kB / 1.418 GB, free: 3.434 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.5456, allocations: 128.8 kB / 1.418 GB, free: 3.289 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.5457, allocations: 4.078 kB / 1.418 GB, free: 3.285 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.546, allocations: 23.97 kB / 1.418 GB, free: 3.262 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/0.5461, allocations: 27.95 kB / 1.418 GB, free: 3.234 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.5461, allocations: 4 kB / 1.418 GB, free: 3.23 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0001974/0.5463, allocations: 186 kB / 1.418 GB, free: 3.051 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5463, allocations: 0 / 1.418 GB, free: 3.051 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004595/0.5468, allocations: 87.83 kB / 1.418 GB, free: 2.965 MB / 1.139 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.001913/0.5487, allocations: 1.041 MB / 1.419 GB, free: 1.891 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.001088/0.5498, allocations: 374.5 kB / 1.42 GB, free: 1.512 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5498, allocations: 0 / 1.42 GB, free: 1.512 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0006591/0.5505, allocations: 254.7 kB / 1.42 GB, free: 1.25 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000758/0.5512, allocations: 127.4 kB / 1.42 GB, free: 1.133 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005115/0.5564, allocations: 2.819 MB / 1.423 GB, free: 14.18 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.5568, allocations: 0.7714 MB / 1.423 GB, free: 13.39 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0002135/0.557, allocations: 54.25 kB / 1.423 GB, free: 13.33 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.5572, allocations: 83.34 kB / 1.424 GB, free: 13.25 MB / 1.154 GB Notification: Performance of SimCode: time 3.81e-07/0.5572, allocations: 0 / 1.424 GB, free: 13.25 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0363/0.5935, allocations: 8.691 MB / 1.432 GB, free: 4.766 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.44, allocations: 6.422 kB / 1.432 GB, free: 4.762 MB / 1.154 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 400 --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