Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,fileNamePrefix="Buildings_10_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.0009909/0.0009909, allocations: 97.95 kB / 15.36 MB, free: 0.7305 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.001284/0.001284, allocations: 172.7 kB / 16.27 MB, free: 6.664 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.307/1.307, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.527/2.527, allocations: 437.8 MB / 0.7121 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000303/0.0003029, allocations: 8 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5704/0.5707, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001544/0.5723, allocations: 1.112 MB / 1.024 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003826/0.5762, allocations: 2.875 MB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.401e-05/0.5762, allocations: 4 kB / 1.027 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.88e-05/0.5763, allocations: 11.92 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.5764, allocations: 39.81 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.5769, allocations: 151.4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.5773, allocations: 339.3 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.52e-05/0.5773, allocations: 4 kB / 1.028 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.5774, allocations: 87.91 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.5776, allocations: 143.7 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.5776, allocations: 8 kB / 1.028 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003918/0.578, allocations: 147.8 kB / 1.028 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.47e-05/0.5781, allocations: 91.75 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.5783, allocations: 117.3 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.5787, allocations: 269.5 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.5787, allocations: 4 kB / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5787, allocations: 0 / 1.028 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.5787, allocations: 4 kB / 1.028 GB, free: 10.44 MB / 0.7794 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.001018/0.5797, allocations: 0.5223 MB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5798, allocations: 12.03 kB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.265e-05/0.5799, allocations: 50.73 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.58, allocations: 24.75 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/0.5802, allocations: 236 kB / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.5803, allocations: 24.36 kB / 1.029 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.5803, allocations: 12.38 kB / 1.029 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000677/0.581, allocations: 321 kB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.581, allocations: 0 / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.36e-05/0.5811, allocations: 15.98 kB / 1.03 GB, free: 9.137 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.473e-06/0.5811, allocations: 4 kB / 1.03 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.5826, allocations: 0.8038 MB / 1.03 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003462/0.583, allocations: 309.1 kB / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002041/0.585, allocations: 0.7703 MB / 1.031 GB, free: 7.195 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005541/0.5856, allocations: 268.7 kB / 1.032 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003694/0.586, allocations: 388.3 kB / 1.032 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.586, allocations: 42.48 kB / 1.032 GB, free: 6.426 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.673e-06/0.586, allocations: 4 kB / 1.032 GB, free: 6.422 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001849/0.5879, allocations: 0.7355 MB / 1.033 GB, free: 5.68 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.5879, allocations: 55.41 kB / 1.033 GB, free: 5.613 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.5881, allocations: 130.1 kB / 1.033 GB, free: 5.477 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.5881, allocations: 29.7 kB / 1.033 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.5882, allocations: 88.8 kB / 1.033 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.5883, allocations: 130.1 kB / 1.033 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-05/0.5884, allocations: 33.7 kB / 1.033 GB, free: 5.184 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.5885, allocations: 326.8 kB / 1.034 GB, free: 4.855 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/0.5891, allocations: 227.7 kB / 1.034 GB, free: 4.633 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.5896, allocations: 232.8 kB / 1.034 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009972/0.5906, allocations: 428.8 kB / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5906, allocations: 0 / 1.034 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001129/0.5917, allocations: 0.5084 MB / 1.035 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.5918, allocations: 4 kB / 1.035 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.5918, allocations: 0 / 1.035 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5918, allocations: 4 kB / 1.035 GB, free: 3.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004655/0.5923, allocations: 119.8 kB / 1.035 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.5923, allocations: 0 / 1.035 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000309/0.5926, allocations: 63.73 kB / 1.035 GB, free: 3.281 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-05/0.5926, allocations: 12 kB / 1.035 GB, free: 3.27 MB / 0.7794 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.0001477/0.5928, allocations: 147.6 kB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.748e-05/0.5928, allocations: 19.75 kB / 1.035 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001284/0.5941, allocations: 0.5728 MB / 1.036 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.229e-06/0.5941, allocations: 4 kB / 1.036 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.5942, allocations: 0 / 1.036 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.5942, allocations: 3.984 kB / 1.036 GB, free: 2.508 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.5945, allocations: 313.2 kB / 1.036 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5945, allocations: 7.938 kB / 1.036 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.5949, allocations: 115.9 kB / 1.036 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.5949, allocations: 0 / 1.036 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.5949, allocations: 11.98 kB / 1.036 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.5949, allocations: 0 / 1.036 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.5949, allocations: 0 / 1.036 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5961, allocations: 0.5472 MB / 1.037 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.5961, allocations: 96.8 kB / 1.037 GB, free: 1.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.198e-05/0.5962, allocations: 8 kB / 1.037 GB, free: 1.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.5965, allocations: 51.95 kB / 1.037 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003367/0.5968, allocations: 119.8 kB / 1.037 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.5969, allocations: 11.98 kB / 1.037 GB, free: 1.152 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.904e-05/0.5969, allocations: 104.1 kB / 1.037 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.597, allocations: 0 / 1.037 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003719/0.5973, allocations: 123.9 kB / 1.037 GB, free: 0.9297 MB / 0.7794 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.001659/0.599, allocations: 1.178 MB / 1.038 GB, free: 15.72 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.001146/0.6002, allocations: 0.5152 MB / 1.039 GB, free: 15.21 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6002, allocations: 0 / 1.039 GB, free: 15.21 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0005905/0.6008, allocations: 296 kB / 1.039 GB, free: 14.92 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.6014, allocations: 63.94 kB / 1.039 GB, free: 14.86 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004604/0.606, allocations: 2.896 MB / 1.042 GB, free: 11.87 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.6063, allocations: 0.7292 MB / 1.043 GB, free: 11.12 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0004336/0.6067, allocations: 188.6 kB / 1.043 GB, free: 10.94 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.6068, allocations: 63.41 kB / 1.043 GB, free: 10.88 MB / 0.795 GB Notification: Performance of SimCode: time 3.2e-07/0.6068, allocations: 0 / 1.043 GB, free: 10.88 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04729/0.6541, allocations: 6.777 MB / 1.05 GB, free: 4.297 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000308/0.6545, allocations: 204.5 kB / 1.05 GB, free: 4.047 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.65, allocations: 0 / 1.05 GB, free: 4.047 MB / 0.795 GB (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.fmu > Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches