Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002079/0.002079, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00231/0.00231, allocations: 192.3 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.448/2.448, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.795/4.795, allocations: 461.9 MB / 0.7343 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002911/0.002911, allocations: 73.88 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5762/0.5792, allocations: 157.4 MB / 1.052 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.004948/0.5842, allocations: 1.45 MB / 1.054 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006751/0.591, allocations: 2.895 MB / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.374e-05/0.5912, allocations: 0 / 1.057 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001538/0.5914, allocations: 7.922 kB / 1.057 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002215/0.5916, allocations: 43.81 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001014/0.5927, allocations: 171.3 kB / 1.057 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003924/0.5931, allocations: 235.5 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.779e-05/0.5932, allocations: 11.98 kB / 1.057 GB, free: 3.832 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.5934, allocations: 91.84 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000321/0.5938, allocations: 131.7 kB / 1.057 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.178e-05/0.5939, allocations: 12 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007414/0.5946, allocations: 143.8 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.5948, allocations: 83.83 kB / 1.058 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.595, allocations: 103.6 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007586/0.5958, allocations: 267.5 kB / 1.058 GB, free: 3.016 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 1.092e-05/0.5959, allocations: 7.922 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.305e-06/0.5959, allocations: 0 / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.5959, allocations: 4 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001554/0.5974, allocations: 0.5222 MB / 1.058 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 6.349e-05/0.5975, allocations: 12.62 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.803e-05/0.5976, allocations: 46.73 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.5979, allocations: 20.75 kB / 1.058 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000438/0.5983, allocations: 240 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.394e-05/0.5984, allocations: 24.36 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.5985, allocations: 12.38 kB / 1.059 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.5996, allocations: 297 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.5997, allocations: 0 / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.66e-05/0.5997, allocations: 12 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.5998, allocations: 4 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/0.6023, allocations: 0.7452 MB / 1.06 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.603, allocations: 309 kB / 1.06 GB, free: 0.6289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/0.6058, allocations: 0.6799 MB / 1.061 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008669/0.6066, allocations: 238.2 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008203/0.6075, allocations: 388.3 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.178e-05/0.6076, allocations: 42.5 kB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 4.418e-06/0.6076, allocations: 0 / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.002893/0.6105, allocations: 0.6495 MB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.082e-05/0.6106, allocations: 59.41 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.6108, allocations: 129.9 kB / 1.062 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.311e-05/0.6109, allocations: 33.7 kB / 1.062 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.611, allocations: 92.78 kB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.6112, allocations: 122.2 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.6114, allocations: 69.67 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002508/0.6117, allocations: 322.8 kB / 1.063 GB, free: 13.68 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007996/0.6125, allocations: 199.8 kB / 1.063 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/0.6133, allocations: 195.6 kB / 1.063 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.6148, allocations: 370.1 kB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6148, allocations: 4 kB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001901/0.6167, allocations: 464.6 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.846e-05/0.6168, allocations: 5.094 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.6168, allocations: 0 / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/0.6168, allocations: 4 kB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006419/0.6175, allocations: 99.84 kB / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/0.6175, allocations: 0 / 1.064 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003747/0.6179, allocations: 55.7 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.618, allocations: 15.94 kB / 1.064 GB, free: 12.29 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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 0.0003097/0.6183, allocations: 137.8 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.6184, allocations: 19.75 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00209/0.6205, allocations: 0.5215 MB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.6205, allocations: 4 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.6206, allocations: 0 / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/0.6206, allocations: 3.984 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006972/0.6213, allocations: 313.3 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.6213, allocations: 3.938 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.6219, allocations: 103.9 kB / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.6219, allocations: 0 / 1.065 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.772e-05/0.622, allocations: 11.98 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.622, allocations: 0 / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.622, allocations: 0 / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.624, allocations: 0.4883 MB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.6242, allocations: 96.8 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.6243, allocations: 12 kB / 1.066 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002981/0.6246, allocations: 39.95 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005006/0.6251, allocations: 115.8 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.872e-05/0.6252, allocations: 19.92 kB / 1.066 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001184/0.6253, allocations: 99.27 kB / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.6253, allocations: 0 / 1.066 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007413/0.626, allocations: 115.9 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.002791/0.6288, allocations: 1.127 MB / 1.067 GB, free: 8.953 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002343/0.6312, allocations: 0.5461 MB / 1.068 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.6312, allocations: 0 / 1.068 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001103/0.6323, allocations: 263.7 kB / 1.068 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007938/0.6332, allocations: 85.47 kB / 1.068 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007696/0.6409, allocations: 2.711 MB / 1.071 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006086/0.6415, allocations: 0.7327 MB / 1.072 GB, free: 4.512 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0008317/0.6424, allocations: 182.6 kB / 1.072 GB, free: 4.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.6426, allocations: 59.41 kB / 1.072 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of SimCode: time 1.403e-06/0.6426, allocations: 0 / 1.072 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6186/1.261, allocations: 7.084 MB / 1.079 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003904/1.262, allocations: 218.8 kB / 1.079 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.313/5.575, allocations: 0 / 1.079 GB, free: 13.14 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches