Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.0007317/0.0007317, allocations: 105.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.0008285/0.0008285, allocations: 219.1 kB / 22.26 MB, free: 3.699 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.8748/0.8748, allocations: 230.6 MB / 256 MB, free: 9.797 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.763/1.763, allocations: 0.5036 GB / 0.8087 GB, free: 3.789 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.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008503/0.0008503, allocations: 67.91 kB / 1.175 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6158/0.6167, allocations: 180 MB / 1.351 GB, free: 2.75 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater): time 0.001757/0.6185, allocations: 1.331 MB / 1.352 GB, free: 1.402 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.6201, allocations: 1.657 MB / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.23e-05/0.6201, allocations: 4 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.6202, allocations: 0 / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.904e-05/0.6202, allocations: 11.88 kB / 1.354 GB, free: 15.72 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006035/0.6208, allocations: 215.1 kB / 1.354 GB, free: 15.51 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.728e-05/0.6209, allocations: 35.86 kB / 1.354 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.31e-05/0.621, allocations: 7.922 kB / 1.354 GB, free: 15.47 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.727e-05/0.621, allocations: 27.92 kB / 1.354 GB, free: 15.44 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.807e-05/0.621, allocations: 19.92 kB / 1.354 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.621, allocations: 0 / 1.354 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004022/0.6214, allocations: 223.6 kB / 1.354 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.58e-05/0.6215, allocations: 11.92 kB / 1.354 GB, free: 15.19 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.6215, allocations: 19.92 kB / 1.354 GB, free: 15.17 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.6217, allocations: 165.7 kB / 1.354 GB, free: 15.01 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6217, allocations: 0 / 1.354 GB, free: 15.01 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.422e-06/0.6217, allocations: 0 / 1.354 GB, free: 15.01 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.6217, allocations: 0 / 1.354 GB, free: 15.01 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.000306/0.622, allocations: 317.8 kB / 1.355 GB, free: 14.67 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.6221, allocations: 8.031 kB / 1.355 GB, free: 14.66 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.6221, allocations: 30.75 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.398e-05/0.6221, allocations: 4.938 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.284e-05/0.6222, allocations: 110.5 kB / 1.355 GB, free: 14.49 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.6222, allocations: 8.312 kB / 1.355 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.6222, allocations: 8.359 kB / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.6223, allocations: 63.53 kB / 1.355 GB, free: 14.4 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.6223, allocations: 4 kB / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.6223, allocations: 0 / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.6223, allocations: 4 kB / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.799e-05/0.6224, allocations: 51.88 kB / 1.355 GB, free: 14.34 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.6225, allocations: 145.6 kB / 1.355 GB, free: 14.15 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.428e-05/0.6226, allocations: 65.14 kB / 1.355 GB, free: 14.07 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.41e-05/0.6227, allocations: 37.69 kB / 1.355 GB, free: 14.03 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/0.6231, allocations: 255.9 kB / 1.355 GB, free: 13.78 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.6231, allocations: 38.5 kB / 1.356 GB, free: 13.73 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.062e-06/0.6231, allocations: 8 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.000176/0.6233, allocations: 85.61 kB / 1.356 GB, free: 13.63 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.6234, allocations: 77.11 kB / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.296e-05/0.6234, allocations: 97.86 kB / 1.356 GB, free: 13.43 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.6234, allocations: 25.7 kB / 1.356 GB, free: 13.4 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.116e-05/0.6234, allocations: 80.14 kB / 1.356 GB, free: 13.32 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.6235, allocations: 39.67 kB / 1.356 GB, free: 13.28 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.6235, allocations: 25.7 kB / 1.356 GB, free: 13.25 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.416e-05/0.6236, allocations: 319 kB / 1.356 GB, free: 12.93 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.88e-05/0.6236, allocations: 11.94 kB / 1.356 GB, free: 12.92 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.6236, allocations: 29.7 kB / 1.356 GB, free: 12.88 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.468e-05/0.6237, allocations: 49.64 kB / 1.356 GB, free: 12.83 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6237, allocations: 0 / 1.356 GB, free: 12.83 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 9.371e-05/0.6238, allocations: 77.56 kB / 1.356 GB, free: 12.75 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.6238, allocations: 8.031 kB / 1.356 GB, free: 12.74 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.6238, allocations: 4 kB / 1.356 GB, free: 12.73 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.6238, allocations: 0 / 1.356 GB, free: 12.73 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.006e-05/0.6239, allocations: 15.98 kB / 1.356 GB, free: 12.72 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.6239, allocations: 0 / 1.356 GB, free: 12.72 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.452e-05/0.6239, allocations: 4 kB / 1.356 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.6239, allocations: 0 / 1.356 GB, free: 12.71 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.424e-05/0.624, allocations: 113.8 kB / 1.357 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.624, allocations: 11.89 kB / 1.357 GB, free: 12.58 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.6241, allocations: 109.7 kB / 1.357 GB, free: 12.47 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.6241, allocations: 0 / 1.357 GB, free: 12.47 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.6241, allocations: 0 / 1.357 GB, free: 12.47 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.6241, allocations: 4 kB / 1.357 GB, free: 12.46 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.892e-05/0.6242, allocations: 140.7 kB / 1.357 GB, free: 12.29 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6242, allocations: 0 / 1.357 GB, free: 12.29 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.6242, allocations: 27.86 kB / 1.357 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.6242, allocations: 0 / 1.357 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.6242, allocations: 0 / 1.357 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.6242, allocations: 0 / 1.357 GB, free: 12.26 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.6242, allocations: 4.031 kB / 1.357 GB, free: 12.25 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.766e-05/0.6243, allocations: 105.9 kB / 1.357 GB, free: 12.13 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.6244, allocations: 19.88 kB / 1.357 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.786e-06/0.6244, allocations: 0 / 1.357 GB, free: 12.11 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.034e-05/0.6244, allocations: 8 kB / 1.357 GB, free: 12.1 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.369e-05/0.6244, allocations: 3.984 kB / 1.357 GB, free: 12.1 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.6244, allocations: 4 kB / 1.357 GB, free: 12.09 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.614e-05/0.6244, allocations: 87.45 kB / 1.357 GB, free: 12.01 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6244, allocations: 0 / 1.357 GB, free: 12.01 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002053/0.6246, allocations: 79.67 kB / 1.357 GB, free: 11.93 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.0004437/0.6251, allocations: 0.7536 MB / 1.358 GB, free: 11.14 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 9.315e-05/0.6252, allocations: 43.92 kB / 1.358 GB, free: 11.1 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-06/0.6252, allocations: 0 / 1.358 GB, free: 11.1 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.075e-05/0.6252, allocations: 23.92 kB / 1.358 GB, free: 11.08 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/0.6254, allocations: 8.781 kB / 1.358 GB, free: 11.07 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003704/0.6258, allocations: 247.8 kB / 1.358 GB, free: 10.79 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.6259, allocations: 0.6845 MB / 1.359 GB, free: 10.07 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.626, allocations: 11.94 kB / 1.359 GB, free: 10.06 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.903e-05/0.626, allocations: 19.38 kB / 1.359 GB, free: 10.04 MB / 1.042 GB Notification: Performance of SimCode: time 4.11e-07/0.626, allocations: 0 / 1.359 GB, free: 10.04 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01478/0.6408, allocations: 3.167 MB / 1.362 GB, free: 7.016 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.905/6.546, allocations: 9.938 kB / 1.362 GB, free: 7.008 MB / 1.042 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_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_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Functions_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater.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.PropyleneGlycolWater_res.csv. Warning: Get data of variable phi from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv failed! Error: Could not read variable d in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv. Warning: Get data of variable d from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv failed! Error: Could not read variable eta in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv. Warning: Get data of variable eta from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv failed! Error: Could not read variable lambda in file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv. Warning: Get data of variable lambda from file Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.PropyleneGlycolWater_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.611793011892587]