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.001524/0.001524, allocations: 106.6 kB / 15.99 MB, free: 6.355 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.001471/0.001471, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.395/1.395, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.654/2.654, allocations: 469.8 MB / 0.7427 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 63.84 kB / 0.9087 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3083, allocations: 159.1 MB / 1.064 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002519/0.3109, allocations: 1.446 MB / 1.066 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003656/0.3145, allocations: 2.894 MB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.966e-05/0.3146, allocations: 4 kB / 1.068 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 7.883e-05/0.3147, allocations: 7.984 kB / 1.068 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.3148, allocations: 39.81 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005169/0.3153, allocations: 159.4 kB / 1.069 GB, free: 10.57 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002904/0.3156, allocations: 247.5 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.18e-05/0.3157, allocations: 4 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.3158, allocations: 107.8 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001565/0.316, allocations: 127.8 kB / 1.069 GB, free: 10.1 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.961e-05/0.316, allocations: 12 kB / 1.069 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003503/0.3164, allocations: 143.8 kB / 1.069 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.467e-05/0.3165, allocations: 83.81 kB / 1.069 GB, free: 9.863 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001133/0.3166, allocations: 99.56 kB / 1.069 GB, free: 9.766 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002552/0.3168, allocations: 187.9 kB / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.3169, allocations: 0 / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3169, allocations: 0 / 1.07 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.3169, allocations: 0 / 1.07 GB, free: 9.582 MB / 0.8419 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.000865/0.3177, allocations: 0.5301 MB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.3178, allocations: 8.031 kB / 1.07 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001158/0.3179, allocations: 20.73 kB / 1.07 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3182, allocations: 236 kB / 1.07 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.325e-05/0.3182, allocations: 32.3 kB / 1.07 GB, free: 8.676 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.85e-05/0.3183, allocations: 16.38 kB / 1.07 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.319, allocations: 289.2 kB / 1.071 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.319, allocations: 0 / 1.071 GB, free: 8.371 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.319, allocations: 8 kB / 1.071 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.319, allocations: 4 kB / 1.071 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.3205, allocations: 0.7452 MB / 1.071 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.321, allocations: 313 kB / 1.072 GB, free: 7.258 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/0.3227, allocations: 0.6875 MB / 1.072 GB, free: 6.559 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005234/0.3232, allocations: 228.7 kB / 1.073 GB, free: 6.332 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004311/0.3236, allocations: 392.3 kB / 1.073 GB, free: 5.875 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.3237, allocations: 34.5 kB / 1.073 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 1.442e-06/0.3237, allocations: 0 / 1.073 GB, free: 5.832 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.001664/0.3254, allocations: 0.6597 MB / 1.074 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.128e-05/0.3254, allocations: 59.39 kB / 1.074 GB, free: 5.098 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.3255, allocations: 120 kB / 1.074 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.3256, allocations: 37.7 kB / 1.074 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.3256, allocations: 88.78 kB / 1.074 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001256/0.3258, allocations: 126.1 kB / 1.074 GB, free: 4.711 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.3259, allocations: 77.61 kB / 1.074 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.326, allocations: 330.8 kB / 1.074 GB, free: 4.297 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005038/0.3265, allocations: 191.8 kB / 1.075 GB, free: 4.109 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004907/0.327, allocations: 207.5 kB / 1.075 GB, free: 3.906 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009013/0.3279, allocations: 357.2 kB / 1.075 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.328, allocations: 0 / 1.075 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001096/0.3291, allocations: 464.6 kB / 1.076 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.3291, allocations: 4 kB / 1.076 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3291, allocations: 0 / 1.076 GB, free: 3.09 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3291, allocations: 4 kB / 1.076 GB, free: 3.086 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003541/0.3295, allocations: 95.84 kB / 1.076 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3295, allocations: 4 kB / 1.076 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.3297, allocations: 51.8 kB / 1.076 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.3297, allocations: 8 kB / 1.076 GB, free: 2.93 MB / 0.8419 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.0001378/0.3299, allocations: 141.8 kB / 1.076 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/0.3299, allocations: 19.75 kB / 1.076 GB, free: 2.762 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.3312, allocations: 0.5104 MB / 1.076 GB, free: 2.246 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.3312, allocations: 4 kB / 1.076 GB, free: 2.242 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3312, allocations: 4 kB / 1.076 GB, free: 2.238 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.3312, allocations: 3.984 kB / 1.076 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/0.3316, allocations: 317.3 kB / 1.077 GB, free: 1.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3316, allocations: 4 kB / 1.077 GB, free: 1.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.3319, allocations: 95.8 kB / 1.077 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3319, allocations: 0 / 1.077 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.332, allocations: 19.98 kB / 1.077 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.332, allocations: 0 / 1.077 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.332, allocations: 0 / 1.077 GB, free: 1.758 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001126/0.3331, allocations: 0.4962 MB / 1.077 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.3332, allocations: 96.8 kB / 1.077 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.837e-05/0.3332, allocations: 11.94 kB / 1.077 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.3334, allocations: 35.95 kB / 1.077 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002342/0.3336, allocations: 119.8 kB / 1.078 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.802e-05/0.3337, allocations: 12 kB / 1.078 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.112e-05/0.3338, allocations: 106.5 kB / 1.078 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3338, allocations: 0 / 1.078 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003962/0.3342, allocations: 111.9 kB / 1.078 GB, free: 0.7422 MB / 0.8419 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.0003582/0.3345, allocations: 194.9 kB / 1.078 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.4089/0.7435, allocations: 0.5459 MB / 1.078 GB, free: 23.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.7435, allocations: 0 / 1.078 GB, free: 23.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.7443, allocations: 263.7 kB / 1.079 GB, free: 23.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004667/0.7447, allocations: 77.69 kB / 1.079 GB, free: 23.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008368/0.7456, allocations: 0.5111 MB / 1.079 GB, free: 22.98 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.7458, allocations: 0.7303 MB / 1.08 GB, free: 22.29 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/0.7459, allocations: 47.33 kB / 1.08 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of SimCode: time 6.11e-07/0.7459, allocations: 0 / 1.08 GB, free: 22.28 MB / 0.8419 GB Notification: Performance of Templates: time 0.008539/0.7545, allocations: 4.733 MB / 1.085 GB, free: 21.9 MB / 0.8419 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches