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.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.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.00137/0.00137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001564/0.001564, allocations: 193.2 kB / 16.14 MB, free: 6.711 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.248/1.248, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.352/2.352, allocations: 461.9 MB / 0.7342 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 69.78 kB / 0.8985 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2234, allocations: 157.4 MB / 1.052 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002172/0.2256, allocations: 1.448 MB / 1.054 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003026/0.2286, allocations: 2.918 MB / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.201e-05/0.2287, allocations: 0 / 1.056 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.366e-05/0.2287, allocations: 15.92 kB / 1.056 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.577e-05/0.2288, allocations: 35.81 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004603/0.2293, allocations: 163.3 kB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.2296, allocations: 335.4 kB / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.106e-05/0.2296, allocations: 0 / 1.057 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.2297, allocations: 87.86 kB / 1.057 GB, free: 3.141 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.2299, allocations: 147.7 kB / 1.057 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.2299, allocations: 12 kB / 1.057 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003493/0.2303, allocations: 143.8 kB / 1.057 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.2304, allocations: 87.81 kB / 1.057 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.2305, allocations: 87.59 kB / 1.058 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003172/0.2308, allocations: 279.5 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.2308, allocations: 0 / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.92e-07/0.2308, allocations: 4 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.2308, allocations: 3.938 kB / 1.058 GB, free: 2.391 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.0007071/0.2315, allocations: 0.5223 MB / 1.058 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2316, allocations: 11.97 kB / 1.058 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.029e-05/0.2316, allocations: 58.73 kB / 1.058 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.537e-05/0.2317, allocations: 16.75 kB / 1.058 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002109/0.232, allocations: 239 kB / 1.059 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/0.232, allocations: 24.36 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.232, allocations: 12.38 kB / 1.059 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005847/0.2326, allocations: 293.1 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.2326, allocations: 3.938 kB / 1.059 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.2327, allocations: 8 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.2327, allocations: 4 kB / 1.059 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.234, allocations: 0.749 MB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.2343, allocations: 305 kB / 1.06 GB, free: 16 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.2358, allocations: 0.6799 MB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/0.2362, allocations: 228.7 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003496/0.2366, allocations: 392.3 kB / 1.061 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.2366, allocations: 38.56 kB / 1.061 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 3.586e-06/0.2366, allocations: 3.984 kB / 1.061 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001431/0.2381, allocations: 0.6597 MB / 1.062 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.2381, allocations: 55.41 kB / 1.062 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.135e-05/0.2382, allocations: 126.1 kB / 1.062 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.981e-05/0.2382, allocations: 33.7 kB / 1.062 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.2383, allocations: 92.8 kB / 1.062 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2384, allocations: 130.1 kB / 1.062 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-05/0.2385, allocations: 61.69 kB / 1.062 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.855e-05/0.2386, allocations: 326.8 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004265/0.239, allocations: 195.8 kB / 1.063 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.2394, allocations: 199.5 kB / 1.063 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/0.2402, allocations: 365.2 kB / 1.063 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.2402, allocations: 0 / 1.063 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009561/0.2412, allocations: 464.6 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.2412, allocations: 9.875 kB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2412, allocations: 0 / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.2412, allocations: 4 kB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003297/0.2416, allocations: 95.86 kB / 1.064 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.2416, allocations: 0 / 1.064 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.2418, allocations: 51.7 kB / 1.064 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.691e-05/0.2418, allocations: 15.98 kB / 1.064 GB, free: 11.69 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.0001135/0.2419, allocations: 141.8 kB / 1.064 GB, free: 11.54 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.278e-05/0.242, allocations: 27.67 kB / 1.064 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001057/0.243, allocations: 0.5144 MB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.243, allocations: 4 kB / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.243, allocations: 0 / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.243, allocations: 0 / 1.065 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.2433, allocations: 317.3 kB / 1.065 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.2434, allocations: 3.938 kB / 1.065 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003064/0.2437, allocations: 95.84 kB / 1.065 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2437, allocations: 7.938 kB / 1.065 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.2437, allocations: 11.98 kB / 1.065 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2437, allocations: 4 kB / 1.065 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.2437, allocations: 0 / 1.065 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009725/0.2447, allocations: 496.1 kB / 1.066 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.2447, allocations: 104.8 kB / 1.066 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.2448, allocations: 8 kB / 1.066 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.2449, allocations: 35.97 kB / 1.066 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000207/0.2452, allocations: 119.8 kB / 1.066 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-05/0.2452, allocations: 12 kB / 1.066 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.173e-05/0.2452, allocations: 101.5 kB / 1.066 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2452, allocations: 0 / 1.066 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003246/0.2456, allocations: 119.9 kB / 1.066 GB, free: 9.5 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.00142/0.247, allocations: 1.123 MB / 1.067 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0009499/0.248, allocations: 467.3 kB / 1.068 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.248, allocations: 0 / 1.068 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005007/0.2485, allocations: 263.7 kB / 1.068 GB, free: 7.633 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.2488, allocations: 67.94 kB / 1.068 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/0.2525, allocations: 2.709 MB / 1.071 GB, free: 4.773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.2527, allocations: 0.7293 MB / 1.071 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003983/0.2532, allocations: 189.1 kB / 1.071 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.2533, allocations: 67.33 kB / 1.072 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2533, allocations: 0 / 1.072 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.293/4.546, allocations: 6.857 MB / 1.078 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002757/4.547, allocations: 216.9 kB / 1.078 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/6.4, allocations: 0 / 1.078 GB, free: 12.83 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