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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008785/0.0008786, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005182/0.005182, allocations: 172.7 kB / 16.26 MB, free: 6.613 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.275/1.275, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.551/2.551, allocations: 462.7 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003025, allocations: 12.72 kB / 0.9029 GB, free: 36.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.233, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001342/0.2343, allocations: 1.111 MB / 1.06 GB, free: 3.789 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003334/0.2377, allocations: 2.883 MB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.158e-05/0.2378, allocations: 0 / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.485e-05/0.2378, allocations: 7.922 kB / 1.063 GB, free: 0.8828 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.238, allocations: 43.81 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005085/0.2385, allocations: 163.3 kB / 1.063 GB, free: 0.6797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.2388, allocations: 331.3 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.582e-05/0.2388, allocations: 4 kB / 1.063 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.964e-05/0.2389, allocations: 87.86 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.2391, allocations: 139.7 kB / 1.063 GB, free: 132 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.936e-05/0.2391, allocations: 12 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000411/0.2395, allocations: 151.9 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.148e-05/0.2396, allocations: 83.81 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.2398, allocations: 121.3 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003553/0.2401, allocations: 263.6 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.2401, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.493e-06/0.2401, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2402, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 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.0007657/0.2409, allocations: 0.5262 MB / 1.065 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.241, allocations: 11.97 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.251e-05/0.241, allocations: 54.73 kB / 1.065 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.432e-05/0.2411, allocations: 20.75 kB / 1.065 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.2414, allocations: 240 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.2414, allocations: 24.36 kB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.2414, allocations: 16.38 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.2421, allocations: 329 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2421, allocations: 0 / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.2422, allocations: 8 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.2422, allocations: 4 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/0.2436, allocations: 0.8038 MB / 1.066 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003198/0.244, allocations: 301.1 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/0.2457, allocations: 0.7815 MB / 1.067 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005342/0.2463, allocations: 260.7 kB / 1.067 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.2466, allocations: 396.3 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.2467, allocations: 42.5 kB / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.443e-06/0.2467, allocations: 0 / 1.068 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001641/0.2483, allocations: 0.7379 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.2484, allocations: 59.39 kB / 1.068 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.2485, allocations: 125 kB / 1.069 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.47e-05/0.2485, allocations: 37.58 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.148e-05/0.2486, allocations: 96.78 kB / 1.069 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.406e-05/0.2487, allocations: 126.1 kB / 1.069 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-05/0.2487, allocations: 29.7 kB / 1.069 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.2488, allocations: 334.8 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.2493, allocations: 219.8 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.2498, allocations: 235.5 kB / 1.07 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009156/0.2508, allocations: 421.2 kB / 1.07 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2508, allocations: 4 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001072/0.2519, allocations: 0.5084 MB / 1.071 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.2519, allocations: 8 kB / 1.071 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.2519, allocations: 0 / 1.071 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.2519, allocations: 0 / 1.071 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.2523, allocations: 115.9 kB / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.2523, allocations: 0 / 1.071 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.2525, allocations: 63.8 kB / 1.071 GB, free: 8.324 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.2525, allocations: 11.98 kB / 1.071 GB, free: 8.312 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.0001131/0.2526, allocations: 145.8 kB / 1.071 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.2527, allocations: 19.75 kB / 1.071 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.2539, allocations: 0.5691 MB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2539, allocations: 4 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2539, allocations: 4 kB / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2539, allocations: 0 / 1.071 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.2542, allocations: 321.2 kB / 1.072 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2542, allocations: 3.938 kB / 1.072 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003556/0.2546, allocations: 111.8 kB / 1.072 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.2546, allocations: 4 kB / 1.072 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.108e-05/0.2546, allocations: 15.98 kB / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.2546, allocations: 0 / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2546, allocations: 0 / 1.072 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.2557, allocations: 0.5509 MB / 1.072 GB, free: 6.496 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.2558, allocations: 96.8 kB / 1.073 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.94e-05/0.2558, allocations: 8 kB / 1.073 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.256, allocations: 51.95 kB / 1.073 GB, free: 6.324 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000201/0.2562, allocations: 123.8 kB / 1.073 GB, free: 6.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.238e-05/0.2562, allocations: 8 kB / 1.073 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.457e-05/0.2563, allocations: 111.1 kB / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2563, allocations: 0 / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003332/0.2567, allocations: 115.9 kB / 1.073 GB, free: 5.973 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.001539/0.2582, allocations: 1.178 MB / 1.074 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001091/0.2593, allocations: 0.5227 MB / 1.075 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2593, allocations: 0 / 1.075 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005541/0.2599, allocations: 283.7 kB / 1.075 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.2603, allocations: 75.92 kB / 1.075 GB, free: 3.891 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003969/0.2642, allocations: 2.885 MB / 1.078 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2645, allocations: 0.7292 MB / 1.078 GB, free: 164 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004049/0.2649, allocations: 180.1 kB / 1.079 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.265, allocations: 67.39 kB / 1.079 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.265, allocations: 0 / 1.079 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.202/3.467, allocations: 6.768 MB / 1.085 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004944/3.467, allocations: 218.6 kB / 1.085 GB, free: 9.117 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.377/5.845, allocations: 4 kB / 1.085 GB, free: 9.113 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