Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.EthyleneGlycolWater,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_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,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_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00615/0.00615, allocations: 95.42 kB / 15.73 MB, free: 6.039 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.00124/0.00124, allocations: 198.5 kB / 16.68 MB, free: 5.969 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.749/2.749, allocations: 469.8 MB / 0.7425 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 67.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3237, allocations: 159.1 MB / 1.221 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002188/0.3259, allocations: 1.377 MB / 1.222 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003881/0.3298, allocations: 2.933 MB / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.409e-05/0.3298, allocations: 0 / 1.225 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.3299, allocations: 3.938 kB / 1.225 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.3301, allocations: 43.8 kB / 1.225 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006693/0.3307, allocations: 191.1 kB / 1.225 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002945/0.331, allocations: 239.5 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.3311, allocations: 0 / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3312, allocations: 99.78 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.3313, allocations: 119.8 kB / 1.225 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.351e-05/0.3314, allocations: 8 kB / 1.225 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.3318, allocations: 139.8 kB / 1.226 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.3319, allocations: 83.83 kB / 1.226 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001319/0.332, allocations: 95.56 kB / 1.226 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003946/0.3324, allocations: 279.1 kB / 1.226 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.3324, allocations: 3.984 kB / 1.226 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3324, allocations: 3.938 kB / 1.226 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.3324, allocations: 0 / 1.226 GB, free: 8.168 MB / 0.9825 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.0009115/0.3333, allocations: 0.5335 MB / 1.227 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3334, allocations: 8.031 kB / 1.227 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.3335, allocations: 20.84 kB / 1.227 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.3338, allocations: 244.1 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.613e-05/0.3339, allocations: 24.36 kB / 1.227 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.3339, allocations: 12.38 kB / 1.227 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.3345, allocations: 293.2 kB / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3345, allocations: 0 / 1.227 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.3345, allocations: 4 kB / 1.227 GB, free: 6.949 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.315e-06/0.3345, allocations: 4 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001507/0.336, allocations: 0.7491 MB / 1.228 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.3364, allocations: 309.1 kB / 1.228 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.3379, allocations: 0.6463 MB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004468/0.3384, allocations: 208.7 kB / 1.229 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003931/0.3387, allocations: 392.3 kB / 1.229 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.3388, allocations: 46.44 kB / 1.229 GB, free: 4.469 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 3.126e-06/0.3388, allocations: 3.984 kB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001495/0.3403, allocations: 0.6496 MB / 1.23 GB, free: 3.809 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.572e-05/0.3403, allocations: 63.28 kB / 1.23 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3404, allocations: 133.3 kB / 1.23 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.3405, allocations: 33.7 kB / 1.23 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.3405, allocations: 92.78 kB / 1.23 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.3406, allocations: 126.9 kB / 1.231 GB, free: 3.34 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.472e-05/0.3407, allocations: 65.67 kB / 1.231 GB, free: 3.27 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001162/0.3408, allocations: 326.8 kB / 1.231 GB, free: 2.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004347/0.3413, allocations: 199.8 kB / 1.231 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004278/0.3417, allocations: 187.8 kB / 1.231 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008134/0.3425, allocations: 369.9 kB / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3425, allocations: 0 / 1.232 GB, free: 2.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009737/0.3435, allocations: 464.7 kB / 1.232 GB, free: 1.738 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.3435, allocations: 4 kB / 1.232 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3435, allocations: 7.938 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3435, allocations: 0 / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003402/0.3439, allocations: 95.91 kB / 1.232 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.3439, allocations: 7.938 kB / 1.232 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.344, allocations: 51.73 kB / 1.232 GB, free: 1.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.3441, allocations: 16 kB / 1.232 GB, free: 1.559 MB / 0.9825 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.0001361/0.3442, allocations: 138.3 kB / 1.232 GB, free: 1.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.3442, allocations: 23.78 kB / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.3454, allocations: 0.5181 MB / 1.233 GB, free: 0.8672 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.3454, allocations: 4 kB / 1.233 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3454, allocations: 0 / 1.233 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.3454, allocations: 3.984 kB / 1.233 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.3457, allocations: 309.4 kB / 1.233 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3457, allocations: 0 / 1.233 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003286/0.346, allocations: 103.8 kB / 1.233 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3461, allocations: 4 kB / 1.233 GB, free: 412 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.3461, allocations: 11.98 kB / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3461, allocations: 0 / 1.233 GB, free: 400 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3461, allocations: 4 kB / 1.233 GB, free: 396 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3471, allocations: 0.4923 MB / 1.234 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.369e-05/0.3472, allocations: 108.7 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.3472, allocations: 8 kB / 1.234 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.3474, allocations: 43.95 kB / 1.234 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/0.3476, allocations: 111.8 kB / 1.234 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.3476, allocations: 11.98 kB / 1.234 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.326e-05/0.3477, allocations: 103.3 kB / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.3477, allocations: 0 / 1.234 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003864/0.3481, allocations: 115.8 kB / 1.234 GB, free: 15.36 MB / 0.9981 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.0003316/0.3484, allocations: 186.9 kB / 1.234 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009918/0.3494, allocations: 463.6 kB / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3494, allocations: 0 / 1.235 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.3499, allocations: 243.7 kB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003846/0.3503, allocations: 73.81 kB / 1.235 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.351, allocations: 442.5 kB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3513, allocations: 0.7328 MB / 1.236 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003806/0.3517, allocations: 180.6 kB / 1.237 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/0.3518, allocations: 39.41 kB / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of SimCode: time 3.1e-07/0.3518, allocations: 0 / 1.237 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of Templates: time 0.008736/0.3605, allocations: 5.345 MB / 1.242 GB, free: 7.707 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches