Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.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.0007567/0.0007567, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009748/0.0009748, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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.8675/0.8675, allocations: 230.6 MB / 256 MB, free: 9.809 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.783/1.783, allocations: 0.5036 GB / 0.8087 GB, free: 3.812 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009042/0.0009042, allocations: 67.89 kB / 1.175 GB, free: 13.09 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6282/0.6291, allocations: 180 MB / 1.351 GB, free: 2.789 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001706/0.6308, allocations: 1.326 MB / 1.352 GB, free: 1.449 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.632, allocations: 1.233 MB / 1.353 GB, free: 216 kB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.237e-05/0.6321, allocations: 0 / 1.353 GB, free: 216 kB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 1.85e-05/0.6321, allocations: 0 / 1.353 GB, free: 216 kB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 8.728e-05/0.6322, allocations: 15.88 kB / 1.353 GB, free: 200 kB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.6327, allocations: 155.4 kB / 1.353 GB, free: 44 kB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 7.018e-05/0.6327, allocations: 43.8 kB / 1.353 GB, free: 0 / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 5.291e-05/0.6328, allocations: 4.047 kB / 1.353 GB, free: 15.99 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.441e-05/0.6328, allocations: 15.88 kB / 1.354 GB, free: 15.98 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.831e-05/0.6328, allocations: 23.91 kB / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.6329, allocations: 0 / 1.354 GB, free: 15.96 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000329/0.6332, allocations: 143.8 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.168e-05/0.6332, allocations: 7.984 kB / 1.354 GB, free: 15.81 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.844e-05/0.6332, allocations: 19.88 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.6334, allocations: 121.8 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6334, allocations: 0 / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.954e-06/0.6334, allocations: 4 kB / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.102e-06/0.6334, allocations: 0 / 1.354 GB, free: 15.67 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003115/0.6337, allocations: 297.9 kB / 1.354 GB, free: 15.35 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.6338, allocations: 12.03 kB / 1.354 GB, free: 15.34 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.615e-05/0.6338, allocations: 30.75 kB / 1.354 GB, free: 15.3 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.649e-05/0.6338, allocations: 4.938 kB / 1.354 GB, free: 15.29 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.946e-05/0.6339, allocations: 114.5 kB / 1.354 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.6339, allocations: 4.375 kB / 1.354 GB, free: 15.15 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.6339, allocations: 384 / 1.354 GB, free: 15.15 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.634, allocations: 71.47 kB / 1.354 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.634, allocations: 3.938 kB / 1.354 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.6341, allocations: 0 / 1.354 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.6341, allocations: 0 / 1.354 GB, free: 15.07 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.244e-05/0.6341, allocations: 55.94 kB / 1.354 GB, free: 15.01 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001263/0.6343, allocations: 145.6 kB / 1.355 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.227e-05/0.6343, allocations: 65.08 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.6344, allocations: 30 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004584/0.6348, allocations: 263.7 kB / 1.355 GB, free: 14.45 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.6348, allocations: 34.5 kB / 1.355 GB, free: 14.41 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/0.6348, allocations: 0 / 1.355 GB, free: 14.41 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0001795/0.635, allocations: 89.59 kB / 1.355 GB, free: 14.31 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.6351, allocations: 81.11 kB / 1.355 GB, free: 14.21 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.798e-05/0.6351, allocations: 102 kB / 1.355 GB, free: 14.11 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.6351, allocations: 29.64 kB / 1.355 GB, free: 14.07 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/0.6351, allocations: 80.14 kB / 1.355 GB, free: 13.99 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.6352, allocations: 35.69 kB / 1.355 GB, free: 13.95 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.6352, allocations: 25.7 kB / 1.355 GB, free: 13.92 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.6353, allocations: 314.8 kB / 1.356 GB, free: 13.61 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.064e-05/0.6353, allocations: 12 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.596e-05/0.6353, allocations: 29.7 kB / 1.356 GB, free: 13.56 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.205e-05/0.6354, allocations: 42.02 kB / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.6354, allocations: 0 / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.12e-05/0.6355, allocations: 89.53 kB / 1.356 GB, free: 13.42 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.6355, allocations: 4 kB / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6355, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.6355, allocations: 0 / 1.356 GB, free: 13.41 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.119e-05/0.6356, allocations: 19.92 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.6356, allocations: 4 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.407e-05/0.6356, allocations: 4.031 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.6356, allocations: 4 kB / 1.356 GB, free: 13.38 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.6356, allocations: 113.8 kB / 1.356 GB, free: 13.26 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-06/0.6356, allocations: 11.89 kB / 1.356 GB, free: 13.25 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.6358, allocations: 101.7 kB / 1.356 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.6358, allocations: 4 kB / 1.356 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.6358, allocations: 0 / 1.356 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.6358, allocations: 0 / 1.356 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.699e-05/0.6359, allocations: 148.7 kB / 1.356 GB, free: 12.95 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6359, allocations: 0 / 1.356 GB, free: 12.95 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.949e-05/0.6359, allocations: 19.92 kB / 1.356 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.6359, allocations: 0 / 1.356 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.533e-06/0.6359, allocations: 4 kB / 1.356 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6359, allocations: 0 / 1.356 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6359, allocations: 0 / 1.356 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.365e-05/0.636, allocations: 118.1 kB / 1.356 GB, free: 12.79 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.704e-05/0.636, allocations: 19.86 kB / 1.356 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.037e-05/0.636, allocations: 4 kB / 1.356 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/0.636, allocations: 4 kB / 1.356 GB, free: 12.77 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.6361, allocations: 11.92 kB / 1.356 GB, free: 12.75 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.6361, allocations: 4 kB / 1.356 GB, free: 12.75 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.199e-05/0.6361, allocations: 79.28 kB / 1.356 GB, free: 12.67 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6361, allocations: 0 / 1.356 GB, free: 12.67 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001847/0.6363, allocations: 63.73 kB / 1.356 GB, free: 12.61 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003998/0.6367, allocations: 0.7133 MB / 1.357 GB, free: 11.87 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 9.668e-05/0.6368, allocations: 47.91 kB / 1.357 GB, free: 11.82 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6368, allocations: 0 / 1.357 GB, free: 11.82 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.983e-05/0.6368, allocations: 20 kB / 1.357 GB, free: 11.8 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.637, allocations: 18.36 kB / 1.357 GB, free: 11.79 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003735/0.6374, allocations: 235.9 kB / 1.358 GB, free: 11.51 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002623/0.6376, allocations: 0.6884 MB / 1.358 GB, free: 10.8 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.527e-05/0.6377, allocations: 15.95 kB / 1.358 GB, free: 10.78 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.6377, allocations: 15.44 kB / 1.358 GB, free: 10.77 MB / 1.042 GB Notification: Performance of SimCode: time 5.2e-07/0.6377, allocations: 0 / 1.358 GB, free: 10.77 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01301/0.6507, allocations: 2.727 MB / 1.361 GB, free: 8.172 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.819/6.47, allocations: 11.12 kB / 1.361 GB, free: 8.164 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable phi in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv. Warning: Get data of variable phi from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv failed! Error: Could not read variable d in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv. Warning: Get data of variable d from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv failed! Error: Could not read variable eta in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv. Warning: Get data of variable eta from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv failed! Error: Could not read variable lambda in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv. Warning: Get data of variable lambda from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.562422994989902]