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.001384/0.001384, allocations: 101.4 kB / 16.45 MB, free: 6.5 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.001456/0.001456, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.399/1.399, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.992/2.992, allocations: 0.49 GB / 0.7916 GB, free: 33.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.001982/0.001982, allocations: 78.3 kB / 1.149 GB, free: 26.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3228, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.2009/0.5237, allocations: 164.9 MB / 1.482 GB, free: 13.77 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.005404/0.5291, allocations: 3.513 MB / 1.485 GB, free: 10.25 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004021/0.5295, allocations: 19.81 kB / 1.485 GB, free: 10.23 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0005092/0.53, allocations: 139 kB / 1.485 GB, free: 10.09 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001341/0.5314, allocations: 477.8 kB / 1.486 GB, free: 9.625 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.5331, allocations: 0.6066 MB / 1.486 GB, free: 9.02 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0009048/0.534, allocations: 0.6205 MB / 1.487 GB, free: 8.398 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004153/0.5344, allocations: 196.7 kB / 1.487 GB, free: 8.207 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001776/0.5362, allocations: 0.5005 MB / 1.488 GB, free: 7.723 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003646/0.5365, allocations: 203.2 kB / 1.488 GB, free: 7.523 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.5366, allocations: 24 kB / 1.488 GB, free: 7.5 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00107/0.5377, allocations: 0.5768 MB / 1.489 GB, free: 6.922 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.5378, allocations: 95.66 kB / 1.489 GB, free: 6.828 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002229/0.538, allocations: 151.2 kB / 1.489 GB, free: 6.68 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.5391, allocations: 0.5528 MB / 1.489 GB, free: 6.125 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.5391, allocations: 0 / 1.489 GB, free: 6.125 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5391, allocations: 0 / 1.489 GB, free: 6.125 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.5391, allocations: 8 kB / 1.489 GB, free: 6.117 MB / 1.186 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.001332/0.5404, allocations: 0.6421 MB / 1.49 GB, free: 5.422 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.5405, allocations: 15.98 kB / 1.49 GB, free: 5.406 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.534e-05/0.5406, allocations: 54.55 kB / 1.49 GB, free: 5.344 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005886/0.5412, allocations: 83.67 kB / 1.49 GB, free: 5.262 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.5417, allocations: 301.6 kB / 1.49 GB, free: 4.926 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.888e-05/0.5417, allocations: 12.44 kB / 1.49 GB, free: 4.914 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.934e-05/0.5417, allocations: 28 kB / 1.49 GB, free: 4.887 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006982/0.5424, allocations: 308.1 kB / 1.491 GB, free: 4.562 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5425, allocations: 0 / 1.491 GB, free: 4.562 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.5425, allocations: 15.98 kB / 1.491 GB, free: 4.547 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.5425, allocations: 11.94 kB / 1.491 GB, free: 4.535 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007215/0.5432, allocations: 244.9 kB / 1.491 GB, free: 4.297 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.5451, allocations: 1.256 MB / 1.492 GB, free: 2.926 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005018/0.5456, allocations: 162.5 kB / 1.492 GB, free: 2.758 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003372/0.546, allocations: 116.8 kB / 1.492 GB, free: 2.641 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006337/0.5466, allocations: 307.2 kB / 1.493 GB, free: 2.285 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.734e-05/0.5466, allocations: 30.56 kB / 1.493 GB, free: 2.246 MB / 1.186 GB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.5466, allocations: 0 / 1.493 GB, free: 2.246 MB / 1.186 GB Notification: Performance of matching and sorting (n=14): time 0.0024/0.549, allocations: 0.5771 MB / 1.493 GB, free: 1.641 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.5491, allocations: 51.41 kB / 1.493 GB, free: 1.578 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.5494, allocations: 259 kB / 1.494 GB, free: 1.316 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/0.5494, allocations: 29.7 kB / 1.494 GB, free: 1.281 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001374/0.5496, allocations: 168.3 kB / 1.494 GB, free: 1.113 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 5.464e-05/0.5496, allocations: 51.52 kB / 1.494 GB, free: 1.062 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.5497, allocations: 41.7 kB / 1.494 GB, free: 1.016 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.5499, allocations: 334.8 kB / 1.494 GB, free: 0.6797 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003049/0.5502, allocations: 87.92 kB / 1.494 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/0.5505, allocations: 146.1 kB / 1.494 GB, free: 448 kB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006182/0.5511, allocations: 237 kB / 1.495 GB, free: 196 kB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5511, allocations: 0 / 1.495 GB, free: 196 kB / 1.186 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001241/0.5524, allocations: 359.2 kB / 1.495 GB, free: 15.83 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.5524, allocations: 4 kB / 1.495 GB, free: 15.83 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.5524, allocations: 3.938 kB / 1.495 GB, free: 15.82 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006406/0.553, allocations: 92.83 kB / 1.495 GB, free: 15.73 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.5533, allocations: 43.95 kB / 1.495 GB, free: 15.69 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002438/0.5557, allocations: 1.723 MB / 1.497 GB, free: 13.82 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.556, allocations: 39.84 kB / 1.497 GB, free: 13.78 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.475e-05/0.556, allocations: 4 kB / 1.497 GB, free: 13.77 MB / 1.201 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.0001668/0.5562, allocations: 145.8 kB / 1.497 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.5562, allocations: 23.86 kB / 1.497 GB, free: 13.6 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.5575, allocations: 364 kB / 1.497 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.5575, allocations: 4 kB / 1.497 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.5575, allocations: 0 / 1.497 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5575, allocations: 0 / 1.497 GB, free: 13.23 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00177/0.5592, allocations: 0.7746 MB / 1.498 GB, free: 12.39 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.5592, allocations: 8.094 kB / 1.498 GB, free: 12.38 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.5594, allocations: 35.91 kB / 1.498 GB, free: 12.34 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004523/0.5599, allocations: 84.7 kB / 1.498 GB, free: 12.26 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.5599, allocations: 12 kB / 1.498 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002141/0.562, allocations: 1.735 MB / 1.5 GB, free: 10.37 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.5621, allocations: 4.031 kB / 1.5 GB, free: 10.36 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.5632, allocations: 457.3 kB / 1.5 GB, free: 9.891 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.5634, allocations: 124.8 kB / 1.501 GB, free: 9.75 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.637e-05/0.5634, allocations: 15.92 kB / 1.501 GB, free: 9.734 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002601/0.5637, allocations: 23.97 kB / 1.501 GB, free: 9.711 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/0.5637, allocations: 23.86 kB / 1.501 GB, free: 9.688 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.5638, allocations: 8 kB / 1.501 GB, free: 9.68 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000186/0.564, allocations: 186 kB / 1.501 GB, free: 9.5 MB / 1.201 GB Notification: Performance of sort global known variables: time 6e-08/0.564, allocations: 0 / 1.501 GB, free: 9.5 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004422/0.5644, allocations: 79.88 kB / 1.501 GB, free: 9.422 MB / 1.201 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.001687/0.5661, allocations: 1.028 MB / 1.502 GB, free: 8.352 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001053/0.5671, allocations: 350.7 kB / 1.502 GB, free: 7.996 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.5671, allocations: 7.938 kB / 1.502 GB, free: 7.988 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006119/0.5678, allocations: 258.6 kB / 1.502 GB, free: 7.723 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007229/0.5685, allocations: 134.1 kB / 1.503 GB, free: 7.598 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004998/0.5735, allocations: 2.82 MB / 1.505 GB, free: 4.648 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004221/0.5739, allocations: 0.7714 MB / 1.506 GB, free: 3.852 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002011/0.5741, allocations: 50.27 kB / 1.506 GB, free: 3.801 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.5742, allocations: 79.41 kB / 1.506 GB, free: 3.723 MB / 1.201 GB Notification: Performance of SimCode: time 8.82e-07/0.5742, allocations: 0 / 1.506 GB, free: 3.723 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03926/0.6135, allocations: 8.683 MB / 1.515 GB, free: 11.23 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.23, allocations: 6.25 kB / 1.515 GB, free: 11.23 MB / 1.217 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sensors_Examples_TemperatureWetBulb_fmu --startTime=0 --stopTime=120 --stepSize=0.048 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.42406159406528]