Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",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.001238/0.001238, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 193.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.238/1.238, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.542/2.542, allocations: 461.9 MB / 0.7346 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 64.58 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2342, allocations: 157.4 MB / 1.053 GB, free: 8.281 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002236/0.2364, allocations: 1.395 MB / 1.054 GB, free: 6.875 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002927/0.2394, allocations: 2.906 MB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.5e-05/0.2394, allocations: 0 / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.477e-05/0.2395, allocations: 11.92 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.979e-05/0.2396, allocations: 39.81 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004491/0.2401, allocations: 187.1 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.2403, allocations: 247.5 kB / 1.058 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.428e-05/0.2403, allocations: 4 kB / 1.058 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.85e-05/0.2404, allocations: 95.78 kB / 1.058 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.2405, allocations: 119.8 kB / 1.058 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.2406, allocations: 12 kB / 1.058 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003233/0.2409, allocations: 143.9 kB / 1.058 GB, free: 3.109 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.742e-05/0.241, allocations: 79.83 kB / 1.058 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.297e-05/0.2411, allocations: 91.58 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.2414, allocations: 267.6 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2414, allocations: 0 / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2414, allocations: 4 kB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2414, allocations: 0 / 1.058 GB, free: 2.676 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.0006929/0.2421, allocations: 0.5377 MB / 1.059 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.2421, allocations: 8.625 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.829e-05/0.2422, allocations: 62.67 kB / 1.059 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.031e-05/0.2423, allocations: 16.75 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.2425, allocations: 236 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.2425, allocations: 24.36 kB / 1.059 GB, free: 1.703 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.2426, allocations: 24.36 kB / 1.059 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005848/0.2432, allocations: 289.1 kB / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.2432, allocations: 0 / 1.059 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.2432, allocations: 4 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2432, allocations: 4 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001304/0.2445, allocations: 0.7491 MB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002957/0.2448, allocations: 301.1 kB / 1.061 GB, free: 296 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.2464, allocations: 0.6838 MB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/0.2469, allocations: 234.2 kB / 1.061 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.2472, allocations: 388.2 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.084e-05/0.2472, allocations: 42.56 kB / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.423e-06/0.2472, allocations: 0 / 1.062 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001513/0.2488, allocations: 0.6495 MB / 1.062 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.2488, allocations: 59.34 kB / 1.063 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.14e-05/0.2489, allocations: 129 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.419e-05/0.2489, allocations: 45.62 kB / 1.063 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.386e-05/0.249, allocations: 88.8 kB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.692e-05/0.249, allocations: 118.2 kB / 1.063 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.333e-05/0.2491, allocations: 69.67 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.622e-05/0.2492, allocations: 322.8 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004465/0.2497, allocations: 199.8 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.2501, allocations: 195.5 kB / 1.064 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000843/0.251, allocations: 366.2 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.251, allocations: 0 / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000999/0.252, allocations: 464.6 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.252, allocations: 11.92 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.252, allocations: 0 / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.978e-06/0.252, allocations: 4 kB / 1.064 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003346/0.2524, allocations: 87.92 kB / 1.065 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.423e-06/0.2524, allocations: 11.92 kB / 1.065 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.2526, allocations: 47.7 kB / 1.065 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.2526, allocations: 19.98 kB / 1.065 GB, free: 11.95 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 9.971e-05/0.2527, allocations: 137.8 kB / 1.065 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.145e-05/0.2527, allocations: 19.75 kB / 1.065 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.2539, allocations: 0.5103 MB / 1.065 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2539, allocations: 4 kB / 1.065 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.2539, allocations: 11.92 kB / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.2539, allocations: 0 / 1.065 GB, free: 11.26 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002692/0.2542, allocations: 321.2 kB / 1.066 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2542, allocations: 3.938 kB / 1.066 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/0.2545, allocations: 99.84 kB / 1.066 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.2545, allocations: 4 kB / 1.066 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/0.2545, allocations: 8 kB / 1.066 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.2545, allocations: 0 / 1.066 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.2545, allocations: 3.984 kB / 1.066 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.2556, allocations: 0.4922 MB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.331e-05/0.2556, allocations: 96.8 kB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.2557, allocations: 11.98 kB / 1.066 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.2558, allocations: 35.97 kB / 1.066 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001858/0.256, allocations: 115.8 kB / 1.066 GB, free: 9.996 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/0.256, allocations: 12 kB / 1.066 GB, free: 9.984 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.2561, allocations: 107.2 kB / 1.067 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2561, allocations: 0 / 1.067 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003201/0.2564, allocations: 111.9 kB / 1.067 GB, free: 9.77 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.001416/0.2579, allocations: 1.119 MB / 1.068 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.259, allocations: 0.55 MB / 1.068 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.259, allocations: 0 / 1.068 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005066/0.2595, allocations: 263.7 kB / 1.069 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.2599, allocations: 76.86 kB / 1.069 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.2635, allocations: 2.649 MB / 1.071 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.2637, allocations: 0.7327 MB / 1.072 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003835/0.2641, allocations: 191.9 kB / 1.072 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.2642, allocations: 63.41 kB / 1.072 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2643, allocations: 192 / 1.072 GB, free: 4.008 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5173/0.7815, allocations: 7.371 MB / 1.079 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.011/9.793, allocations: 0 / 1.079 GB, free: 12.8 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches