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.0008878/0.0008878, allocations: 76.44 kB / 19.16 MB, free: 0.7344 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.0009547/0.0009547, allocations: 165.9 kB / 22.45 MB, free: 2.102 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.8585/0.8585, allocations: 177.2 MB / 202.8 MB, free: 5.758 MB / 186.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.723/1.723, allocations: 388.8 MB / 0.6328 GB, free: 13.04 MB / 0.6042 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.0008922/0.0008922, allocations: 76.02 kB / 0.9992 GB, free: 14.21 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6398/0.6407, allocations: 179.9 MB / 1.175 GB, free: 1.449 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001861/0.6426, allocations: 1.303 MB / 1.176 GB, free: 428 kB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.6441, allocations: 1.105 MB / 1.177 GB, free: 15.59 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.6441, allocations: 1.062 kB / 1.177 GB, free: 15.59 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.164e-05/0.6441, allocations: 7.922 kB / 1.177 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.455e-05/0.6442, allocations: 12.98 kB / 1.177 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.6447, allocations: 154.2 kB / 1.177 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 7.095e-05/0.6448, allocations: 51.12 kB / 1.178 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.6449, allocations: 2.531 kB / 1.178 GB, free: 15.43 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/0.6449, allocations: 27.56 kB / 1.178 GB, free: 15.42 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.632e-05/0.6449, allocations: 15.08 kB / 1.178 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.6449, allocations: 1.125 kB / 1.178 GB, free: 15.41 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003101/0.6453, allocations: 134.6 kB / 1.178 GB, free: 15.35 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.6453, allocations: 22.09 kB / 1.178 GB, free: 15.33 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.579e-05/0.6453, allocations: 6.625 kB / 1.178 GB, free: 15.33 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.6455, allocations: 140.5 kB / 1.178 GB, free: 15.26 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6455, allocations: 0.9062 kB / 1.178 GB, free: 15.26 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.175e-06/0.6455, allocations: 0 / 1.178 GB, free: 15.26 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.6455, allocations: 0 / 1.178 GB, free: 15.26 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.0003495/0.6459, allocations: 293.2 kB / 1.178 GB, free: 14.96 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.6459, allocations: 10.53 kB / 1.178 GB, free: 14.96 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.646, allocations: 35.88 kB / 1.178 GB, free: 14.92 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.797e-05/0.646, allocations: 3.281 kB / 1.178 GB, free: 14.92 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.59e-05/0.6461, allocations: 111.9 kB / 1.178 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.6461, allocations: 2.562 kB / 1.178 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.6461, allocations: 2.531 kB / 1.178 GB, free: 14.79 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.6462, allocations: 74.8 kB / 1.178 GB, free: 14.72 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.924e-06/0.6462, allocations: 192 / 1.178 GB, free: 14.72 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.6462, allocations: 9.25 kB / 1.178 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.6462, allocations: 5.141 kB / 1.178 GB, free: 14.71 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.296e-05/0.6463, allocations: 46.66 kB / 1.178 GB, free: 14.68 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003737/0.6467, allocations: 140.3 kB / 1.179 GB, free: 14.51 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.6468, allocations: 62.89 kB / 1.179 GB, free: 14.45 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.6468, allocations: 35.08 kB / 1.179 GB, free: 14.42 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000505/0.6473, allocations: 255 kB / 1.179 GB, free: 14.35 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.6473, allocations: 36.78 kB / 1.179 GB, free: 14.3 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.253e-06/0.6473, allocations: 0 / 1.179 GB, free: 14.3 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0001944/0.6475, allocations: 95.19 kB / 1.179 GB, free: 14.24 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.6475, allocations: 84.08 kB / 1.179 GB, free: 14.14 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.538e-05/0.6476, allocations: 101.2 kB / 1.179 GB, free: 14.04 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.777e-06/0.6476, allocations: 25.7 kB / 1.179 GB, free: 14.01 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.316e-05/0.6476, allocations: 81.3 kB / 1.179 GB, free: 13.93 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.6477, allocations: 30.7 kB / 1.179 GB, free: 13.9 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-05/0.6477, allocations: 29.2 kB / 1.179 GB, free: 13.87 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 6.918e-05/0.6478, allocations: 312 kB / 1.18 GB, free: 13.56 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.313e-05/0.6478, allocations: 15.48 kB / 1.18 GB, free: 13.55 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.005e-05/0.6478, allocations: 28.52 kB / 1.18 GB, free: 13.53 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.78e-05/0.6479, allocations: 46.77 kB / 1.18 GB, free: 13.5 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.6479, allocations: 4 kB / 1.18 GB, free: 13.49 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.884e-05/0.648, allocations: 74.28 kB / 1.18 GB, free: 13.44 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.648, allocations: 5.562 kB / 1.18 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.648, allocations: 3.938 kB / 1.18 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.648, allocations: 5.125 kB / 1.18 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.007e-05/0.6481, allocations: 16.64 kB / 1.18 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.6481, allocations: 1.688 kB / 1.18 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.64e-05/0.6481, allocations: 5.328 kB / 1.18 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-06/0.6481, allocations: 2.25 kB / 1.18 GB, free: 13.43 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.418e-05/0.6481, allocations: 112.7 kB / 1.18 GB, free: 13.31 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-06/0.6482, allocations: 7.031 kB / 1.18 GB, free: 13.3 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.6483, allocations: 98.53 kB / 1.18 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6483, allocations: 5.281 kB / 1.18 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6483, allocations: 1.344 kB / 1.18 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.6483, allocations: 1.156 kB / 1.18 GB, free: 13.23 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.314e-05/0.6484, allocations: 146.8 kB / 1.18 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.6484, allocations: 0 / 1.18 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.964e-05/0.6484, allocations: 17.02 kB / 1.18 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.6484, allocations: 1.719 kB / 1.18 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.6484, allocations: 1.5 kB / 1.18 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6484, allocations: 11.91 kB / 1.18 GB, free: 13.04 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.6484, allocations: 5.625 kB / 1.18 GB, free: 13.04 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.351e-05/0.6485, allocations: 100.7 kB / 1.18 GB, free: 12.95 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.673e-05/0.6486, allocations: 20.08 kB / 1.18 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.6486, allocations: 5.031 kB / 1.18 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.273e-05/0.6486, allocations: 9 kB / 1.18 GB, free: 12.92 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.6486, allocations: 3.281 kB / 1.18 GB, free: 12.92 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.6486, allocations: 6.172 kB / 1.18 GB, free: 12.91 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.336e-05/0.6486, allocations: 78.53 kB / 1.18 GB, free: 12.84 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6486, allocations: 0 / 1.18 GB, free: 12.84 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002036/0.6488, allocations: 56.94 kB / 1.181 GB, free: 12.82 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.0004173/0.6492, allocations: 0.7139 MB / 1.181 GB, free: 12.17 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.6494, allocations: 45.52 kB / 1.181 GB, free: 12.15 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6494, allocations: 0 / 1.181 GB, free: 12.15 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.498e-05/0.6494, allocations: 23.73 kB / 1.181 GB, free: 12.14 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/0.6496, allocations: 23.27 kB / 1.181 GB, free: 12.12 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003784/0.65, allocations: 224.7 kB / 1.182 GB, free: 11.91 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.013e-05/0.65, allocations: 75.64 kB / 1.182 GB, free: 11.83 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.737e-05/0.65, allocations: 20.95 kB / 1.182 GB, free: 11.82 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.226e-05/0.6501, allocations: 26.2 kB / 1.182 GB, free: 11.8 MB / 1.042 GB Notification: Performance of SimCode: time 3.71e-07/0.6501, allocations: 0 / 1.182 GB, free: 11.8 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.6665, allocations: 3.293 MB / 1.185 GB, free: 9.648 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.492/7.158, allocations: 4.812 kB / 1.185 GB, free: 9.648 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: 11.164627194870263]