Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001363/0.001363, allocations: 102.2 kB / 16.27 MB, free: 6 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.001349/0.001349, allocations: 191 kB / 17.2 MB, free: 5.609 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.333/1.333, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.542/2.542, allocations: 469.4 MB / 0.7427 GB, free: 3.629 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 58.94 kB / 0.9088 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3088, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002823/0.3117, allocations: 1.373 MB / 1.066 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003875/0.3156, allocations: 2.917 MB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.192e-05/0.3157, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.132e-05/0.3158, allocations: 3.984 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001265/0.3159, allocations: 39.81 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006766/0.3166, allocations: 183.1 kB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003712/0.317, allocations: 243.5 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.277e-05/0.317, allocations: 8 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001407/0.3172, allocations: 99.77 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.3174, allocations: 123.7 kB / 1.069 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.045e-05/0.3174, allocations: 19.94 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004915/0.3179, allocations: 135.9 kB / 1.069 GB, free: 9.875 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001155/0.318, allocations: 91.81 kB / 1.069 GB, free: 9.785 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001338/0.3182, allocations: 87.58 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.3186, allocations: 271.6 kB / 1.07 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3186, allocations: 0 / 1.07 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3186, allocations: 3.938 kB / 1.07 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3187, allocations: 0 / 1.07 GB, free: 9.43 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.0009316/0.3196, allocations: 0.5261 MB / 1.07 GB, free: 8.855 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3196, allocations: 12.62 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.3198, allocations: 20.73 kB / 1.07 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.3201, allocations: 236 kB / 1.07 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.21e-05/0.3201, allocations: 24.36 kB / 1.07 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.3202, allocations: 16.38 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.3208, allocations: 293.2 kB / 1.071 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3209, allocations: 0 / 1.071 GB, free: 8.223 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.3209, allocations: 4 kB / 1.071 GB, free: 8.219 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.3209, allocations: 4 kB / 1.071 GB, free: 8.215 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.3225, allocations: 0.7529 MB / 1.071 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.3229, allocations: 309.1 kB / 1.072 GB, free: 7.109 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001717/0.3246, allocations: 0.6846 MB / 1.072 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005346/0.3252, allocations: 232.7 kB / 1.073 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004565/0.3256, allocations: 384.4 kB / 1.073 GB, free: 5.734 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.3257, allocations: 42.5 kB / 1.073 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=37): time 3.627e-06/0.3257, allocations: 0 / 1.073 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37): time 0.001758/0.3275, allocations: 0.6611 MB / 1.074 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3275, allocations: 55.41 kB / 1.074 GB, free: 4.949 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.3276, allocations: 122.1 kB / 1.074 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3277, allocations: 29.7 kB / 1.074 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.382e-05/0.3277, allocations: 92.78 kB / 1.074 GB, free: 4.688 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.3278, allocations: 130 kB / 1.074 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.3279, allocations: 69.67 kB / 1.074 GB, free: 4.484 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3281, allocations: 330.8 kB / 1.075 GB, free: 4.152 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004999/0.3286, allocations: 191.8 kB / 1.075 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/0.3291, allocations: 207.5 kB / 1.075 GB, free: 3.762 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009399/0.33, allocations: 362.2 kB / 1.075 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3301, allocations: 0 / 1.075 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00111/0.3312, allocations: 468.5 kB / 1.076 GB, free: 2.941 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3312, allocations: 4 kB / 1.076 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3312, allocations: 7.969 kB / 1.076 GB, free: 2.93 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3312, allocations: 3.938 kB / 1.076 GB, free: 2.926 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000369/0.3316, allocations: 95.86 kB / 1.076 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.3316, allocations: 4 kB / 1.076 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.3318, allocations: 47.8 kB / 1.076 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.966e-05/0.3319, allocations: 11.98 kB / 1.076 GB, free: 2.77 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.0001249/0.332, allocations: 142.3 kB / 1.076 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.332, allocations: 19.75 kB / 1.076 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/0.3333, allocations: 0.5124 MB / 1.077 GB, free: 2.086 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.3333, allocations: 4 kB / 1.077 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.3333, allocations: 0 / 1.077 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3333, allocations: 3.984 kB / 1.077 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003195/0.3336, allocations: 321.2 kB / 1.077 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3336, allocations: 0 / 1.077 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.334, allocations: 99.8 kB / 1.077 GB, free: 1.617 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/0.334, allocations: 7.984 kB / 1.077 GB, free: 1.609 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.334, allocations: 8 kB / 1.077 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.334, allocations: 0 / 1.077 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.334, allocations: 0 / 1.077 GB, free: 1.602 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.3352, allocations: 0.4961 MB / 1.077 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.698e-05/0.3352, allocations: 96.8 kB / 1.078 GB, free: 0.9727 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.823e-05/0.3353, allocations: 11.98 kB / 1.078 GB, free: 0.9609 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001763/0.3355, allocations: 31.91 kB / 1.078 GB, free: 0.9297 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000214/0.3357, allocations: 119.8 kB / 1.078 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.3357, allocations: 12 kB / 1.078 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.536e-05/0.3358, allocations: 103.2 kB / 1.078 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3358, allocations: 0 / 1.078 GB, free: 0.6992 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003859/0.3362, allocations: 115.9 kB / 1.078 GB, free: 0.5859 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.0003479/0.3365, allocations: 183.1 kB / 1.078 GB, free: 408 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.4557/0.7922, allocations: 0.5541 MB / 1.079 GB, free: 24.04 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.7923, allocations: 0 / 1.079 GB, free: 24.04 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006537/0.7929, allocations: 264.6 kB / 1.079 GB, free: 24.04 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.7935, allocations: 77.17 kB / 1.079 GB, free: 24.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000885/0.7944, allocations: 455.2 kB / 1.079 GB, free: 23.86 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001848/0.7946, allocations: 0.7361 MB / 1.08 GB, free: 23.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.7947, allocations: 49.33 kB / 1.08 GB, free: 23.15 MB / 0.8419 GB Notification: Performance of SimCode: time 6.91e-07/0.7947, allocations: 0 / 1.08 GB, free: 23.15 MB / 0.8419 GB Notification: Performance of Templates: time 0.008624/0.8033, allocations: 4.738 MB / 1.085 GB, free: 22.76 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches