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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001673/0.001673, allocations: 109.3 kB / 15.99 MB, free: 6.359 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.001833/0.001833, allocations: 194.5 kB / 16.91 MB, free: 6.195 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.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.53/2.53, allocations: 437.1 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 67.23 kB / 0.8694 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3136, allocations: 151.6 MB / 1.017 GB, free: 11.01 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002704/0.3163, allocations: 1.447 MB / 1.019 GB, free: 9.551 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003767/0.3201, allocations: 2.89 MB / 1.022 GB, free: 6.648 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.532e-05/0.3202, allocations: 4 kB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.161e-05/0.3203, allocations: 3.984 kB / 1.022 GB, free: 6.641 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.3205, allocations: 39.81 kB / 1.022 GB, free: 6.602 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005567/0.321, allocations: 163.3 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.3213, allocations: 251.5 kB / 1.022 GB, free: 6.195 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.3214, allocations: 4 kB / 1.022 GB, free: 6.191 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.3215, allocations: 95.78 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.3217, allocations: 135.8 kB / 1.022 GB, free: 5.965 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.3217, allocations: 12 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003675/0.3221, allocations: 139.9 kB / 1.023 GB, free: 5.816 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.3222, allocations: 83.81 kB / 1.023 GB, free: 5.734 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3223, allocations: 99.56 kB / 1.023 GB, free: 5.637 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003097/0.3227, allocations: 187.9 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3227, allocations: 3.938 kB / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3227, allocations: 0 / 1.023 GB, free: 5.449 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.3227, allocations: 0 / 1.023 GB, free: 5.449 MB / 0.795 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.0008635/0.3236, allocations: 0.53 MB / 1.023 GB, free: 4.871 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.3236, allocations: 8.922 kB / 1.023 GB, free: 4.863 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.3237, allocations: 24.73 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.324, allocations: 232 kB / 1.024 GB, free: 4.574 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.667e-05/0.3241, allocations: 28.36 kB / 1.024 GB, free: 4.547 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.3241, allocations: 20.36 kB / 1.024 GB, free: 4.527 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/0.3248, allocations: 290.8 kB / 1.024 GB, free: 4.238 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.3248, allocations: 3.938 kB / 1.024 GB, free: 4.234 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.3249, allocations: 8 kB / 1.024 GB, free: 4.227 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.3249, allocations: 4 kB / 1.024 GB, free: 4.223 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.3264, allocations: 0.7452 MB / 1.025 GB, free: 3.477 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.3268, allocations: 305.1 kB / 1.025 GB, free: 3.129 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/0.3286, allocations: 0.6832 MB / 1.026 GB, free: 2.434 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005301/0.3291, allocations: 228.7 kB / 1.026 GB, free: 2.207 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004711/0.3296, allocations: 388.4 kB / 1.026 GB, free: 1.754 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.3296, allocations: 34.5 kB / 1.026 GB, free: 1.711 MB / 0.795 GB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.3296, allocations: 0 / 1.026 GB, free: 1.711 MB / 0.795 GB Notification: Performance of matching and sorting (n=37): time 0.001686/0.3313, allocations: 0.6573 MB / 1.027 GB, free: 1.047 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.3314, allocations: 59.34 kB / 1.027 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3315, allocations: 126.6 kB / 1.027 GB, free: 0.8438 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.3315, allocations: 33.7 kB / 1.027 GB, free: 0.8047 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.3316, allocations: 92.78 kB / 1.027 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.3317, allocations: 126 kB / 1.027 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001138/0.3319, allocations: 73.67 kB / 1.027 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.332, allocations: 326.8 kB / 1.028 GB, free: 184 kB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000513/0.3326, allocations: 191.9 kB / 1.028 GB, free: 15.99 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005028/0.3331, allocations: 212.7 kB / 1.028 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009082/0.334, allocations: 356.9 kB / 1.028 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.334, allocations: 0 / 1.028 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001117/0.3351, allocations: 464.6 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.3352, allocations: 11.92 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.3352, allocations: 0 / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.3352, allocations: 4 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.3356, allocations: 91.92 kB / 1.029 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3356, allocations: 3.938 kB / 1.029 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.3358, allocations: 51.8 kB / 1.029 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.3358, allocations: 15.98 kB / 1.029 GB, free: 14.8 MB / 0.8106 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.0001415/0.336, allocations: 141.8 kB / 1.029 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.545e-05/0.336, allocations: 19.75 kB / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.3373, allocations: 0.512 MB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.3373, allocations: 8 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3373, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.3373, allocations: 11.97 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003687/0.3377, allocations: 317.3 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3377, allocations: 0 / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003448/0.3381, allocations: 99.78 kB / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3381, allocations: 0 / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.3381, allocations: 11.94 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.3381, allocations: 4 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3381, allocations: 4 kB / 1.03 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.3392, allocations: 0.4922 MB / 1.031 GB, free: 13.1 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.475e-05/0.3393, allocations: 100.8 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.3394, allocations: 7.984 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.3395, allocations: 31.97 kB / 1.031 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.3398, allocations: 119.8 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.3398, allocations: 16 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.948e-05/0.3399, allocations: 102.6 kB / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3399, allocations: 0 / 1.031 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003879/0.3403, allocations: 111.9 kB / 1.031 GB, free: 12.61 MB / 0.8106 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.0003764/0.3407, allocations: 191.5 kB / 1.031 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.342, allocations: 0.5582 MB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.342, allocations: 4 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.3426, allocations: 263.4 kB / 1.032 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.343, allocations: 67.94 kB / 1.032 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008477/0.3438, allocations: 0.5085 MB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.3443, allocations: 0.7327 MB / 1.033 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.3444, allocations: 55.41 kB / 1.033 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3444, allocations: 0 / 1.033 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of Templates: time 0.007738/0.3522, allocations: 4.727 MB / 1.038 GB, free: 5.504 MB / 0.8106 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=400 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches