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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: 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_latest_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_latest_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.001072/0.001072, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001014/0.001014, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.321/1.321, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.574/2.574, allocations: 469.4 MB / 0.7427 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 56.06 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2829, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002986/0.2859, allocations: 1.381 MB / 1.066 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.2897, allocations: 2.913 MB / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.217e-05/0.2898, allocations: 0 / 1.068 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001003/0.2899, allocations: 4 kB / 1.068 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001282/0.2901, allocations: 35.8 kB / 1.068 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.2908, allocations: 191.1 kB / 1.069 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.2911, allocations: 239.5 kB / 1.069 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.134e-05/0.2911, allocations: 11.98 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.2913, allocations: 95.8 kB / 1.069 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.2915, allocations: 123.7 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.2915, allocations: 15.98 kB / 1.069 GB, free: 9.984 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004336/0.292, allocations: 135.9 kB / 1.069 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001008/0.2921, allocations: 83.83 kB / 1.069 GB, free: 9.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001117/0.2922, allocations: 91.58 kB / 1.069 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003998/0.2926, allocations: 271.6 kB / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2926, allocations: 0 / 1.07 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2926, allocations: 3.938 kB / 1.07 GB, free: 9.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.2926, allocations: 0 / 1.07 GB, free: 9.41 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.0008715/0.2935, allocations: 0.5339 MB / 1.07 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2936, allocations: 8.625 kB / 1.07 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.2937, allocations: 16.75 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002787/0.294, allocations: 244 kB / 1.07 GB, free: 8.527 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.627e-05/0.294, allocations: 28.36 kB / 1.07 GB, free: 8.5 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.2941, allocations: 16.38 kB / 1.07 GB, free: 8.484 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006626/0.2947, allocations: 285.3 kB / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.2948, allocations: 0 / 1.071 GB, free: 8.199 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.2948, allocations: 4 kB / 1.071 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.2948, allocations: 4 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001554/0.2964, allocations: 0.7568 MB / 1.071 GB, free: 7.434 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004344/0.2968, allocations: 309.1 kB / 1.072 GB, free: 7.082 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.2985, allocations: 0.6807 MB / 1.072 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.2991, allocations: 232.7 kB / 1.073 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004943/0.2996, allocations: 384.4 kB / 1.073 GB, free: 5.711 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.2996, allocations: 38.5 kB / 1.073 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 4.188e-06/0.2996, allocations: 0 / 1.073 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.001696/0.3013, allocations: 0.6611 MB / 1.074 GB, free: 4.996 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.3014, allocations: 59.41 kB / 1.074 GB, free: 4.926 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3015, allocations: 129.6 kB / 1.074 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.3015, allocations: 33.7 kB / 1.074 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.3016, allocations: 88.78 kB / 1.074 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.3017, allocations: 130 kB / 1.074 GB, free: 4.531 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001007/0.3018, allocations: 69.69 kB / 1.074 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.3019, allocations: 326.8 kB / 1.075 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/0.3024, allocations: 191.8 kB / 1.075 GB, free: 3.941 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004718/0.3029, allocations: 203.5 kB / 1.075 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008849/0.3038, allocations: 362.2 kB / 1.075 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3038, allocations: 0 / 1.075 GB, free: 3.387 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001067/0.3049, allocations: 472.5 kB / 1.076 GB, free: 2.918 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.3049, allocations: 4 kB / 1.076 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.3049, allocations: 0 / 1.076 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.305, allocations: 0 / 1.076 GB, free: 2.914 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.3053, allocations: 99.86 kB / 1.076 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.3053, allocations: 0 / 1.076 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.3055, allocations: 47.8 kB / 1.076 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.3056, allocations: 19.98 kB / 1.076 GB, free: 2.75 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.0001284/0.3057, allocations: 143.9 kB / 1.076 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.3058, allocations: 19.75 kB / 1.076 GB, free: 2.582 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.307, allocations: 0.5103 MB / 1.077 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.307, allocations: 4 kB / 1.077 GB, free: 2.062 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.307, allocations: 4 kB / 1.077 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.307, allocations: 0 / 1.077 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003131/0.3073, allocations: 317.2 kB / 1.077 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3073, allocations: 0 / 1.077 GB, free: 1.699 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.3077, allocations: 99.78 kB / 1.077 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.3077, allocations: 4 kB / 1.077 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.3077, allocations: 15.98 kB / 1.077 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.3077, allocations: 0 / 1.077 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3077, allocations: 4 kB / 1.077 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.3088, allocations: 0.4922 MB / 1.077 GB, free: 1.066 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/0.3089, allocations: 96.8 kB / 1.078 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.853e-05/0.309, allocations: 11.98 kB / 1.078 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.3091, allocations: 43.83 kB / 1.078 GB, free: 0.8984 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002161/0.3094, allocations: 111.8 kB / 1.078 GB, free: 0.7891 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.3094, allocations: 19.98 kB / 1.078 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.872e-05/0.3095, allocations: 99.27 kB / 1.078 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.3095, allocations: 0 / 1.078 GB, free: 0.6719 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003945/0.3099, allocations: 115.9 kB / 1.078 GB, free: 0.5586 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.0003998/0.3103, allocations: 183.6 kB / 1.078 GB, free: 380 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.4538/0.7641, allocations: 0.5532 MB / 1.079 GB, free: 23.38 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.7641, allocations: 1.469 kB / 1.079 GB, free: 23.38 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.7648, allocations: 261.8 kB / 1.079 GB, free: 23.38 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.7652, allocations: 76.06 kB / 1.079 GB, free: 23.38 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009242/0.7662, allocations: 458.8 kB / 1.079 GB, free: 23.19 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.7664, allocations: 0.7313 MB / 1.08 GB, free: 22.49 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.7666, allocations: 46.8 kB / 1.08 GB, free: 22.48 MB / 0.8419 GB Notification: Performance of SimCode: time 6.01e-07/0.7666, allocations: 1.156 kB / 1.08 GB, free: 22.48 MB / 0.8419 GB Notification: Performance of Templates: time 0.008619/0.7752, allocations: 4.74 MB / 1.085 GB, free: 22.09 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (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 & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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