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.0008049/0.0008049, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.0008054/0.0008054, allocations: 209.2 kB / 22.25 MB, free: 3.586 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.9218/0.9218, allocations: 230.6 MB / 256 MB, free: 9.656 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.858/1.858, allocations: 0.5036 GB / 0.8087 GB, free: 3.359 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.000835/0.000835, allocations: 67.91 kB / 1.175 GB, free: 12.63 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6786/0.6794, allocations: 180 MB / 1.351 GB, free: 2.309 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater): time 0.001668/0.6811, allocations: 1.3 MB / 1.352 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.6823, allocations: 1.113 MB / 1.353 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.477e-05/0.6823, allocations: 0 / 1.353 GB, free: 15.88 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.6823, allocations: 3.938 kB / 1.353 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.126e-05/0.6824, allocations: 19.84 kB / 1.353 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004342/0.6828, allocations: 151.4 kB / 1.353 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 6.43e-05/0.6829, allocations: 43.83 kB / 1.353 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.6829, allocations: 4 kB / 1.353 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.6829, allocations: 19.88 kB / 1.353 GB, free: 15.64 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.787e-05/0.683, allocations: 19.92 kB / 1.353 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.039e-05/0.683, allocations: 0 / 1.353 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002796/0.6833, allocations: 139.8 kB / 1.353 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 1.29e-05/0.6833, allocations: 3.984 kB / 1.353 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 2.241e-05/0.6833, allocations: 15.94 kB / 1.354 GB, free: 15.46 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001747/0.6835, allocations: 133.7 kB / 1.354 GB, free: 15.33 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.6835, allocations: 4 kB / 1.354 GB, free: 15.33 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.884e-06/0.6835, allocations: 0 / 1.354 GB, free: 15.33 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.6835, allocations: 0 / 1.354 GB, free: 15.33 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.0002985/0.6838, allocations: 294 kB / 1.354 GB, free: 15.01 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.6838, allocations: 12.03 kB / 1.354 GB, free: 15 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.809e-05/0.6839, allocations: 30.75 kB / 1.354 GB, free: 14.96 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.493e-05/0.6839, allocations: 4.938 kB / 1.354 GB, free: 14.96 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.253e-05/0.6839, allocations: 106.5 kB / 1.354 GB, free: 14.83 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.684, allocations: 8.375 kB / 1.354 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.684, allocations: 4.359 kB / 1.354 GB, free: 14.82 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.6841, allocations: 75.52 kB / 1.354 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.6841, allocations: 3.938 kB / 1.354 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-06/0.6841, allocations: 0 / 1.354 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.6841, allocations: 0 / 1.354 GB, free: 14.73 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.473e-05/0.6842, allocations: 55.86 kB / 1.354 GB, free: 14.67 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001266/0.6843, allocations: 145.6 kB / 1.354 GB, free: 14.48 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.908e-05/0.6844, allocations: 65.08 kB / 1.354 GB, free: 14.4 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.404e-05/0.6844, allocations: 29.77 kB / 1.354 GB, free: 14.37 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004696/0.6849, allocations: 251.8 kB / 1.355 GB, free: 14.12 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.6849, allocations: 38.5 kB / 1.355 GB, free: 14.07 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 9.82e-07/0.6849, allocations: 3.938 kB / 1.355 GB, free: 14.07 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.0003195/0.6852, allocations: 89.83 kB / 1.355 GB, free: 13.98 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.953e-05/0.6852, allocations: 81.11 kB / 1.355 GB, free: 13.88 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.215e-05/0.6853, allocations: 97.86 kB / 1.355 GB, free: 13.77 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.6853, allocations: 25.7 kB / 1.355 GB, free: 13.74 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 1.921e-05/0.6853, allocations: 88.25 kB / 1.355 GB, free: 13.65 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.228e-05/0.6854, allocations: 31.7 kB / 1.355 GB, free: 13.62 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.6854, allocations: 25.7 kB / 1.355 GB, free: 13.59 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 6.601e-05/0.6854, allocations: 314.8 kB / 1.355 GB, free: 13.27 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.6855, allocations: 8 kB / 1.355 GB, free: 13.27 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.953e-05/0.6855, allocations: 33.64 kB / 1.355 GB, free: 13.23 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.6855, allocations: 45.7 kB / 1.356 GB, free: 13.18 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.6855, allocations: 0 / 1.356 GB, free: 13.18 MB / 1.042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 8.296e-05/0.6856, allocations: 85.55 kB / 1.356 GB, free: 13.09 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.6856, allocations: 8.031 kB / 1.356 GB, free: 13.08 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.6856, allocations: 4 kB / 1.356 GB, free: 13.07 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.6857, allocations: 0 / 1.356 GB, free: 13.07 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.6857, allocations: 15.98 kB / 1.356 GB, free: 13.06 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.6857, allocations: 0 / 1.356 GB, free: 13.06 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.5e-05/0.6857, allocations: 4 kB / 1.356 GB, free: 13.05 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-06/0.6857, allocations: 0 / 1.356 GB, free: 13.05 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.264e-05/0.6858, allocations: 121.8 kB / 1.356 GB, free: 12.93 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.676e-06/0.6858, allocations: 11.89 kB / 1.356 GB, free: 12.91 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.6859, allocations: 97.78 kB / 1.356 GB, free: 12.81 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.6859, allocations: 4.031 kB / 1.356 GB, free: 12.81 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6859, allocations: 7.938 kB / 1.356 GB, free: 12.8 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.6859, allocations: 0 / 1.356 GB, free: 12.8 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.379e-05/0.686, allocations: 140.7 kB / 1.356 GB, free: 12.62 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.686, allocations: 4 kB / 1.356 GB, free: 12.62 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.6861, allocations: 15.94 kB / 1.356 GB, free: 12.6 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6861, allocations: 3.984 kB / 1.356 GB, free: 12.6 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.272e-06/0.6861, allocations: 0 / 1.356 GB, free: 12.6 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6861, allocations: 4 kB / 1.356 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6861, allocations: 0 / 1.356 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.79e-05/0.6862, allocations: 101.9 kB / 1.356 GB, free: 12.47 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.73e-05/0.6862, allocations: 23.88 kB / 1.356 GB, free: 12.45 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.838e-06/0.6862, allocations: 8.016 kB / 1.356 GB, free: 12.44 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.6862, allocations: 7.938 kB / 1.356 GB, free: 12.43 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.38e-05/0.6862, allocations: 4 kB / 1.356 GB, free: 12.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.6862, allocations: 4 kB / 1.356 GB, free: 12.43 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.349e-05/0.6863, allocations: 83.44 kB / 1.356 GB, free: 12.34 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.6863, allocations: 0 / 1.356 GB, free: 12.34 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001844/0.6864, allocations: 59.75 kB / 1.356 GB, free: 12.29 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.0003837/0.6868, allocations: 0.7184 MB / 1.357 GB, free: 11.54 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.6869, allocations: 39.98 kB / 1.357 GB, free: 11.5 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6869, allocations: 0 / 1.357 GB, free: 11.5 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.28e-05/0.6869, allocations: 24.55 kB / 1.357 GB, free: 11.47 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.6872, allocations: 24.12 kB / 1.357 GB, free: 11.45 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003961/0.6876, allocations: 235.9 kB / 1.357 GB, free: 11.18 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.991e-05/0.6876, allocations: 75.27 kB / 1.357 GB, free: 11.08 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.6876, allocations: 11.78 kB / 1.357 GB, free: 11.07 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.6877, allocations: 15.44 kB / 1.357 GB, free: 11.05 MB / 1.042 GB Notification: Performance of SimCode: time 3.61e-07/0.6877, allocations: 0 / 1.357 GB, free: 11.05 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.7037, allocations: 3.184 MB / 1.361 GB, free: 8.02 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.234/6.938, allocations: 4.062 kB / 1.361 GB, free: 8.016 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Functions.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Functions_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.171696946956217]