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.000786/0.000786, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008436/0.0008436, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8594/0.8594, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.69/1.69, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.981 GB, free: 1.426 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.98e-05/2.147e-05, allocations: 6.281 kB / 0.981 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.5994/0.5994, allocations: 142.3 MB / 1.12 GB, free: 2.77 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00346/0.6029, allocations: 3.256 MB / 1.123 GB, free: 0.6055 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.6031, allocations: 22.59 kB / 1.123 GB, free: 0.5898 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0004049/0.6035, allocations: 137.7 kB / 1.123 GB, free: 0.5 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0009586/0.6045, allocations: 463.9 kB / 1.124 GB, free: 260 kB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.001132/0.6056, allocations: 0.639 MB / 1.124 GB, free: 15.94 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0005755/0.6062, allocations: 0.619 MB / 1.125 GB, free: 15.65 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002827/0.6065, allocations: 187.4 kB / 1.125 GB, free: 15.57 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.6077, allocations: 0.5709 MB / 1.126 GB, free: 15.33 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.6079, allocations: 174 kB / 1.126 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 4.216e-05/0.608, allocations: 23.22 kB / 1.126 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006053/0.6086, allocations: 481.2 kB / 1.126 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 9.17e-05/0.6087, allocations: 101.8 kB / 1.126 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 9.713e-05/0.6088, allocations: 98.53 kB / 1.127 GB, free: 15.02 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0006554/0.6094, allocations: 0.5711 MB / 1.127 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6094, allocations: 1.062 kB / 1.127 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.423e-06/0.6094, allocations: 0 / 1.127 GB, free: 14.83 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.6094, allocations: 4 kB / 1.127 GB, free: 14.82 MB / 0.9792 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.000758/0.6102, allocations: 0.5702 MB / 1.128 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.6102, allocations: 9.031 kB / 1.128 GB, free: 14.39 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.264e-05/0.6103, allocations: 54.27 kB / 1.128 GB, free: 14.34 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003885/0.6107, allocations: 86.36 kB / 1.128 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.611, allocations: 238.7 kB / 1.128 GB, free: 14.12 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.611, allocations: 16.59 kB / 1.128 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.6111, allocations: 23.06 kB / 1.128 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.6115, allocations: 366.8 kB / 1.128 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.6115, allocations: 1.062 kB / 1.128 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.6115, allocations: 12.98 kB / 1.128 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.6116, allocations: 4.5 kB / 1.128 GB, free: 13.89 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003724/0.6119, allocations: 247.6 kB / 1.129 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.613, allocations: 0.9884 MB / 1.13 GB, free: 12.94 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.6132, allocations: 167.5 kB / 1.13 GB, free: 12.85 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001759/0.6134, allocations: 119.5 kB / 1.13 GB, free: 12.79 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.6136, allocations: 74.14 kB / 1.13 GB, free: 12.76 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.6137, allocations: 39.62 kB / 1.13 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=14): time 1.132e-06/0.6137, allocations: 0 / 1.13 GB, free: 12.71 MB / 0.9792 GB Notification: Performance of matching and sorting (n=14): time 0.00119/0.6149, allocations: 0.4904 MB / 1.13 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.158e-05/0.6149, allocations: 61.47 kB / 1.131 GB, free: 12.39 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.6151, allocations: 265.8 kB / 1.131 GB, free: 12.21 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.6151, allocations: 34.7 kB / 1.131 GB, free: 12.17 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 8.705e-05/0.6152, allocations: 170.1 kB / 1.131 GB, free: 12.01 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.6152, allocations: 42.17 kB / 1.131 GB, free: 11.98 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.6153, allocations: 47.62 kB / 1.131 GB, free: 11.94 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.6154, allocations: 332 kB / 1.131 GB, free: 11.61 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.6156, allocations: 89.92 kB / 1.131 GB, free: 11.57 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001999/0.6158, allocations: 169.8 kB / 1.132 GB, free: 11.44 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.6161, allocations: 239.8 kB / 1.132 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6161, allocations: 0 / 1.132 GB, free: 11.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006185/0.6167, allocations: 355.4 kB / 1.132 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.6168, allocations: 4.906 kB / 1.132 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6168, allocations: 3.141 kB / 1.132 GB, free: 11.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003029/0.6171, allocations: 92.12 kB / 1.132 GB, free: 11.06 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.6172, allocations: 44.95 kB / 1.132 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.6187, allocations: 1.617 MB / 1.134 GB, free: 9.543 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.6188, allocations: 33.44 kB / 1.134 GB, free: 9.523 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.6188, allocations: 10.98 kB / 1.134 GB, free: 9.52 MB / 0.9792 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.0001033/0.619, allocations: 146.7 kB / 1.134 GB, free: 9.383 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.619, allocations: 23.08 kB / 1.134 GB, free: 9.371 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006741/0.6197, allocations: 373 kB / 1.134 GB, free: 9.148 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.6197, allocations: 1.25 kB / 1.134 GB, free: 9.148 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.6197, allocations: 1.281 kB / 1.134 GB, free: 9.148 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.6197, allocations: 0 / 1.134 GB, free: 9.148 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009239/0.6206, allocations: 0.7218 MB / 1.135 GB, free: 8.598 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.6206, allocations: 2.188 kB / 1.135 GB, free: 8.598 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.072e-05/0.6207, allocations: 35.47 kB / 1.135 GB, free: 8.586 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002042/0.6209, allocations: 81.14 kB / 1.135 GB, free: 8.543 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.6209, allocations: 1.406 kB / 1.135 GB, free: 8.543 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.622, allocations: 1.632 MB / 1.137 GB, free: 7.023 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.622, allocations: 1.094 kB / 1.137 GB, free: 7.023 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005954/0.6226, allocations: 456.5 kB / 1.137 GB, free: 6.711 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.925e-05/0.6227, allocations: 59.27 kB / 1.137 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.6227, allocations: 2.125 kB / 1.137 GB, free: 6.668 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.6228, allocations: 23.47 kB / 1.137 GB, free: 6.656 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.175e-05/0.6229, allocations: 26.31 kB / 1.137 GB, free: 6.637 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.6229, allocations: 5.438 kB / 1.137 GB, free: 6.637 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001128/0.623, allocations: 187.4 kB / 1.138 GB, free: 6.508 MB / 0.9792 GB Notification: Performance of sort global known variables: time 6e-08/0.623, allocations: 0 / 1.138 GB, free: 6.508 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.000292/0.6233, allocations: 81.77 kB / 1.138 GB, free: 6.492 MB / 0.9792 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.0008899/0.6242, allocations: 1.033 MB / 1.139 GB, free: 5.617 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005571/0.6247, allocations: 357.5 kB / 1.139 GB, free: 5.391 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.6247, allocations: 4 kB / 1.139 GB, free: 5.387 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/0.625, allocations: 250.5 kB / 1.139 GB, free: 5.207 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.6254, allocations: 131.3 kB / 1.139 GB, free: 5.141 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00356/0.629, allocations: 2.805 MB / 1.142 GB, free: 3.047 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001361/0.6291, allocations: 160.1 kB / 1.142 GB, free: 2.93 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.6293, allocations: 59.73 kB / 1.142 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.722e-05/0.6294, allocations: 81.81 kB / 1.142 GB, free: 2.836 MB / 0.9792 GB Notification: Performance of SimCode: time 1.122e-06/0.6294, allocations: 0 / 1.142 GB, free: 2.836 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0253/0.6547, allocations: 9.654 MB / 1.152 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.351/8.005, allocations: 12.88 kB / 1.152 GB, free: 13.78 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.97866692300886]