Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001539/0.001539, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 223.3 MB / 240 MB, free: 5.41 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.912/2.912, allocations: 437.7 MB / 0.7117 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004604, allocations: 11.94 kB / 0.8722 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8207/0.8212, allocations: 153.8 MB / 1.022 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001695/0.8229, allocations: 1.089 MB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004308/0.8272, allocations: 2.732 MB / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.8273, allocations: 0 / 1.026 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.546e-05/0.8274, allocations: 7.984 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.8276, allocations: 39.8 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005732/0.8282, allocations: 159.4 kB / 1.026 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.8285, allocations: 271.4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.8285, allocations: 4 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.152e-05/0.8286, allocations: 91.8 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001725/0.8288, allocations: 139.8 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.8288, allocations: 8 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/0.8293, allocations: 159.8 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.323e-05/0.8294, allocations: 95.75 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.266e-05/0.8294, allocations: 53.64 kB / 1.027 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002463/0.8297, allocations: 185.6 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.8297, allocations: 0 / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.293e-06/0.8297, allocations: 3.938 kB / 1.027 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.8297, allocations: 0 / 1.027 GB, free: 11.06 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.0008034/0.8305, allocations: 0.5261 MB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.8306, allocations: 8.562 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.8307, allocations: 15.81 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/0.8309, allocations: 242.8 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/0.831, allocations: 27.94 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.831, allocations: 12 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006575/0.8317, allocations: 317.1 kB / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.8317, allocations: 0 / 1.028 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.8317, allocations: 8 kB / 1.028 GB, free: 9.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.8318, allocations: 4 kB / 1.028 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.8332, allocations: 0.8115 MB / 1.029 GB, free: 9.004 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.8336, allocations: 305 kB / 1.029 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/0.8352, allocations: 0.782 MB / 1.03 GB, free: 7.863 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005071/0.8357, allocations: 260.7 kB / 1.031 GB, free: 7.605 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003917/0.8361, allocations: 380.4 kB / 1.031 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.8362, allocations: 38.56 kB / 1.031 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 3.096e-06/0.8362, allocations: 7.938 kB / 1.031 GB, free: 7.105 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001636/0.8378, allocations: 0.7438 MB / 1.032 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.8379, allocations: 55.41 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.838, allocations: 126.1 kB / 1.032 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.838, allocations: 29.7 kB / 1.032 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.8381, allocations: 92.8 kB / 1.032 GB, free: 6.027 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000131/0.8382, allocations: 130.1 kB / 1.032 GB, free: 5.898 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.8382, allocations: 4 kB / 1.032 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.8384, allocations: 326.8 kB / 1.032 GB, free: 5.566 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004761/0.8389, allocations: 223.8 kB / 1.033 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.8394, allocations: 227.6 kB / 1.033 GB, free: 5.125 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.8399, allocations: 205.7 kB / 1.033 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.8399, allocations: 0 / 1.033 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001107/0.841, allocations: 0.5161 MB / 1.033 GB, free: 4.402 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.841, allocations: 8 kB / 1.034 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.984e-06/0.841, allocations: 0 / 1.034 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.841, allocations: 0 / 1.034 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.8414, allocations: 111.8 kB / 1.034 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.8415, allocations: 7.984 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001839/0.8417, allocations: 59.81 kB / 1.034 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.8417, allocations: 15.98 kB / 1.034 GB, free: 4.203 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001419/0.8418, allocations: 145.8 kB / 1.034 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/0.8419, allocations: 19.77 kB / 1.034 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/0.8431, allocations: 0.5763 MB / 1.034 GB, free: 3.445 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.986e-06/0.8431, allocations: 7.984 kB / 1.034 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.8431, allocations: 0 / 1.034 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.8431, allocations: 0 / 1.034 GB, free: 3.438 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003877/0.8435, allocations: 309.3 kB / 1.035 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.8435, allocations: 0 / 1.035 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.8439, allocations: 115.8 kB / 1.035 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.8439, allocations: 4 kB / 1.035 GB, free: 2.969 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.325e-05/0.8439, allocations: 15.94 kB / 1.035 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.8439, allocations: 0 / 1.035 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.844, allocations: 0 / 1.035 GB, free: 2.953 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.8451, allocations: 0.5511 MB / 1.035 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.048e-05/0.8452, allocations: 96.86 kB / 1.035 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.8452, allocations: 4 kB / 1.035 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/0.8455, allocations: 63.84 kB / 1.036 GB, free: 2.203 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.8457, allocations: 119.8 kB / 1.036 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.8458, allocations: 11.98 kB / 1.036 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001681/0.8459, allocations: 103.1 kB / 1.036 GB, free: 1.977 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8459, allocations: 4 kB / 1.036 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004432/0.8464, allocations: 123.9 kB / 1.036 GB, free: 1.852 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000393/0.8468, allocations: 187 kB / 1.036 GB, free: 1.66 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001111/0.8479, allocations: 0.511 MB / 1.037 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.8479, allocations: 4 kB / 1.037 GB, free: 1.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.8485, allocations: 292.6 kB / 1.037 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.8489, allocations: 67.94 kB / 1.037 GB, free: 0.793 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007588/0.8497, allocations: 0.5017 MB / 1.037 GB, free: 272 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.8501, allocations: 0.7292 MB / 1.038 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0005158/0.8506, allocations: 181.7 kB / 1.038 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.8507, allocations: 47.34 kB / 1.038 GB, free: 15.29 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.8507, allocations: 0 / 1.038 GB, free: 15.29 MB / 0.795 GB Notification: Performance of Templates: time 0.009001/0.8597, allocations: 4.685 MB / 1.043 GB, free: 10.67 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches