Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001738/0.001738, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.00218/0.00218, allocations: 219.2 kB / 22.25 MB, free: 5.258 MB / 14.72 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 1.391/1.391, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.975/2.975, allocations: 0.49 GB / 0.7951 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,fileNamePrefix="Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 69.33 kB / 1.154 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3233, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.175/0.4984, allocations: 142.3 MB / 1.465 GB, free: 2.598 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.005166/0.5035, allocations: 3.256 MB / 1.468 GB, free: 15.34 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004621/0.504, allocations: 15.88 kB / 1.468 GB, free: 15.32 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.5046, allocations: 139 kB / 1.468 GB, free: 15.18 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001602/0.5062, allocations: 457.9 kB / 1.469 GB, free: 14.73 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001786/0.508, allocations: 0.611 MB / 1.469 GB, free: 14.12 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001021/0.509, allocations: 0.6438 MB / 1.47 GB, free: 13.48 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.5095, allocations: 184.9 kB / 1.47 GB, free: 13.3 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.5114, allocations: 0.5016 MB / 1.471 GB, free: 12.81 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003704/0.5118, allocations: 215.2 kB / 1.471 GB, free: 12.6 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.5119, allocations: 20 kB / 1.471 GB, free: 12.58 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000952/0.5128, allocations: 474.9 kB / 1.471 GB, free: 12.11 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.5129, allocations: 99.64 kB / 1.471 GB, free: 12.02 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001608/0.5131, allocations: 123.4 kB / 1.471 GB, free: 11.89 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0009525/0.5141, allocations: 0.5411 MB / 1.472 GB, free: 11.35 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5141, allocations: 0 / 1.472 GB, free: 11.35 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5141, allocations: 0 / 1.472 GB, free: 11.35 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.5141, allocations: 0 / 1.472 GB, free: 11.35 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.001083/0.5152, allocations: 0.5763 MB / 1.473 GB, free: 10.74 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5152, allocations: 12.03 kB / 1.473 GB, free: 10.73 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.513e-05/0.5153, allocations: 58.55 kB / 1.473 GB, free: 10.66 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005343/0.5158, allocations: 75.69 kB / 1.473 GB, free: 10.59 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004698/0.5163, allocations: 247.6 kB / 1.473 GB, free: 10.32 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.5163, allocations: 16.44 kB / 1.473 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.087e-05/0.5163, allocations: 24 kB / 1.473 GB, free: 10.28 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006625/0.517, allocations: 363.5 kB / 1.473 GB, free: 9.895 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.517, allocations: 0 / 1.473 GB, free: 9.895 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.517, allocations: 12 kB / 1.473 GB, free: 9.883 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.5171, allocations: 7.938 kB / 1.473 GB, free: 9.875 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006325/0.5177, allocations: 244.9 kB / 1.474 GB, free: 9.637 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001551/0.5192, allocations: 0.9951 MB / 1.474 GB, free: 8.574 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00042/0.5197, allocations: 170.5 kB / 1.475 GB, free: 8.398 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002948/0.52, allocations: 112.8 kB / 1.475 GB, free: 8.285 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004571/0.5204, allocations: 75.92 kB / 1.475 GB, free: 8.211 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.5204, allocations: 30.56 kB / 1.475 GB, free: 8.172 MB / 1.17 GB Notification: Performance of pre-optimization done (n=14): time 1.532e-06/0.5204, allocations: 4 kB / 1.475 GB, free: 8.168 MB / 1.17 GB Notification: Performance of matching and sorting (n=14): time 0.002131/0.5226, allocations: 0.5018 MB / 1.475 GB, free: 7.656 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.5226, allocations: 51.41 kB / 1.475 GB, free: 7.594 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.5229, allocations: 264.1 kB / 1.476 GB, free: 7.324 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 3.731e-05/0.5229, allocations: 37.62 kB / 1.476 GB, free: 7.281 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.5231, allocations: 160.3 kB / 1.476 GB, free: 7.117 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.5232, allocations: 51.59 kB / 1.476 GB, free: 7.066 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/0.5232, allocations: 37.7 kB / 1.476 GB, free: 7.023 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.5234, allocations: 334.8 kB / 1.476 GB, free: 6.688 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.5237, allocations: 91.92 kB / 1.476 GB, free: 6.598 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.524, allocations: 165.9 kB / 1.476 GB, free: 6.414 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000578/0.5246, allocations: 240.1 kB / 1.477 GB, free: 6.164 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5246, allocations: 0 / 1.477 GB, free: 6.164 MB / 1.17 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001097/0.5257, allocations: 363.3 kB / 1.477 GB, free: 5.801 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.5257, allocations: 5.562 kB / 1.477 GB, free: 5.797 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.5257, allocations: 4 kB / 1.477 GB, free: 5.793 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005564/0.5263, allocations: 92.81 kB / 1.477 GB, free: 5.699 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.5265, allocations: 39.97 kB / 1.477 GB, free: 5.66 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.5287, allocations: 1.621 MB / 1.479 GB, free: 3.922 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.5289, allocations: 35.88 kB / 1.479 GB, free: 3.887 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.5289, allocations: 12 kB / 1.479 GB, free: 3.875 MB / 1.17 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.0001615/0.5291, allocations: 141.8 kB / 1.479 GB, free: 3.727 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.654e-05/0.5292, allocations: 27.86 kB / 1.479 GB, free: 3.699 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00108/0.5302, allocations: 363.9 kB / 1.479 GB, free: 3.336 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5302, allocations: 0 / 1.479 GB, free: 3.336 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.5302, allocations: 4 kB / 1.479 GB, free: 3.332 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.5302, allocations: 4 kB / 1.479 GB, free: 3.328 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.5318, allocations: 0.7153 MB / 1.48 GB, free: 2.551 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5319, allocations: 8 kB / 1.48 GB, free: 2.543 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.532, allocations: 35.91 kB / 1.48 GB, free: 2.508 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003997/0.5324, allocations: 84.98 kB / 1.48 GB, free: 2.422 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.079e-05/0.5325, allocations: 11.92 kB / 1.48 GB, free: 2.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001901/0.5344, allocations: 1.628 MB / 1.482 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5344, allocations: 0 / 1.482 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.5354, allocations: 457.7 kB / 1.482 GB, free: 192 kB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.5356, allocations: 47.78 kB / 1.482 GB, free: 144 kB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/0.5356, allocations: 7.938 kB / 1.482 GB, free: 136 kB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00023/0.5358, allocations: 23.97 kB / 1.482 GB, free: 112 kB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.573e-05/0.5359, allocations: 27.84 kB / 1.482 GB, free: 84 kB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.128e-05/0.5359, allocations: 8 kB / 1.482 GB, free: 76 kB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0001988/0.5361, allocations: 187.2 kB / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5361, allocations: 0 / 1.483 GB, free: 15.89 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004066/0.5365, allocations: 87.81 kB / 1.483 GB, free: 15.8 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.001511/0.538, allocations: 1.016 MB / 1.484 GB, free: 14.75 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0009672/0.539, allocations: 355.7 kB / 1.484 GB, free: 14.39 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.539, allocations: 0 / 1.484 GB, free: 14.39 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0005644/0.5396, allocations: 262.8 kB / 1.484 GB, free: 14.12 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007186/0.5403, allocations: 125.1 kB / 1.484 GB, free: 14 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004673/0.545, allocations: 2.818 MB / 1.487 GB, free: 11.06 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001609/0.5451, allocations: 162.8 kB / 1.487 GB, free: 10.88 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.5453, allocations: 58.27 kB / 1.487 GB, free: 10.83 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/0.5454, allocations: 75.41 kB / 1.487 GB, free: 10.75 MB / 1.186 GB Notification: Performance of SimCode: time 6.01e-07/0.5454, allocations: 0 / 1.487 GB, free: 10.75 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.59, allocations: 9.58 MB / 1.497 GB, free: 1.426 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.08/12.67, allocations: 11.03 kB / 1.497 GB, free: 1.418 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.fmu > Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_TemperatureWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable sou.T_in in file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv. Warning: Get data of variable sou.T_in from file Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.058527232991764]