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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001017/0.001018, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.667/2.667, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000347/0.0003471, allocations: 6.094 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2965, allocations: 159.6 MB / 1.059 GB, free: 4.984 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.001481/0.2981, allocations: 1.107 MB / 1.06 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00354/0.3016, allocations: 2.879 MB / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.3017, allocations: 0 / 1.063 GB, free: 0.9727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.768e-05/0.3018, allocations: 11.92 kB / 1.063 GB, free: 0.9609 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.3019, allocations: 39.81 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.3024, allocations: 159.3 kB / 1.063 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.3028, allocations: 339.3 kB / 1.064 GB, free: 444 kB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.061e-05/0.3028, allocations: 4 kB / 1.064 GB, free: 440 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.3029, allocations: 83.91 kB / 1.064 GB, free: 356 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.3031, allocations: 143.6 kB / 1.064 GB, free: 212 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.36e-05/0.3032, allocations: 12 kB / 1.064 GB, free: 200 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.3036, allocations: 147.8 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.3037, allocations: 87.81 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000112/0.3038, allocations: 121.3 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.3041, allocations: 183.9 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3041, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3041, allocations: 4 kB / 1.064 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.3041, allocations: 0 / 1.064 GB, free: 15.66 MB / 0.8262 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.0008283/0.3049, allocations: 0.5262 MB / 1.065 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.305, allocations: 11.97 kB / 1.065 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.3051, allocations: 16.75 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.3053, allocations: 244 kB / 1.065 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.3054, allocations: 24.36 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.3054, allocations: 16.38 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000727/0.3062, allocations: 317.3 kB / 1.066 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.645e-05/0.3062, allocations: 7.938 kB / 1.066 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.3063, allocations: 4 kB / 1.066 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.3063, allocations: 4 kB / 1.066 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.3079, allocations: 0.8076 MB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.3083, allocations: 309.1 kB / 1.067 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001979/0.3103, allocations: 0.7815 MB / 1.067 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006381/0.3109, allocations: 256.7 kB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004654/0.3114, allocations: 384.4 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.432e-05/0.3115, allocations: 42.5 kB / 1.068 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 2.946e-06/0.3115, allocations: 7.938 kB / 1.068 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001916/0.3134, allocations: 0.7457 MB / 1.069 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3134, allocations: 55.41 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/0.3136, allocations: 130.1 kB / 1.069 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.3137, allocations: 29.7 kB / 1.069 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.677e-05/0.3137, allocations: 88.8 kB / 1.069 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.3138, allocations: 130.1 kB / 1.069 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.3139, allocations: 33.7 kB / 1.069 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.314, allocations: 326.8 kB / 1.07 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005513/0.3146, allocations: 227.8 kB / 1.07 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005337/0.3151, allocations: 227.5 kB / 1.07 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.3162, allocations: 421.2 kB / 1.07 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3162, allocations: 3.938 kB / 1.07 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001191/0.3174, allocations: 0.5201 MB / 1.071 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.3174, allocations: 10.03 kB / 1.071 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.3174, allocations: 0 / 1.071 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.3174, allocations: 0 / 1.071 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.3179, allocations: 115.8 kB / 1.071 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3179, allocations: 0 / 1.071 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.3181, allocations: 67.7 kB / 1.071 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.3181, allocations: 12 kB / 1.071 GB, free: 8.523 MB / 0.8262 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.0001343/0.3183, allocations: 137.8 kB / 1.071 GB, free: 8.379 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.3183, allocations: 23.75 kB / 1.071 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001438/0.3198, allocations: 0.5691 MB / 1.072 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.3198, allocations: 7.984 kB / 1.072 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.3198, allocations: 0 / 1.072 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.3198, allocations: 7.984 kB / 1.072 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.3201, allocations: 321.2 kB / 1.072 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3201, allocations: 0 / 1.072 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003641/0.3205, allocations: 111.8 kB / 1.072 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.3205, allocations: 4 kB / 1.072 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.3206, allocations: 7.984 kB / 1.072 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.3206, allocations: 4 kB / 1.072 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3206, allocations: 4 kB / 1.072 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.3219, allocations: 0.5509 MB / 1.073 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.034e-05/0.3219, allocations: 100.8 kB / 1.073 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.322, allocations: 4 kB / 1.073 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.3222, allocations: 51.95 kB / 1.073 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.3224, allocations: 119.8 kB / 1.073 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.3225, allocations: 15.98 kB / 1.073 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.00011/0.3226, allocations: 98.14 kB / 1.073 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3226, allocations: 0 / 1.073 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000384/0.323, allocations: 119.9 kB / 1.073 GB, free: 6.191 MB / 0.8262 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.0003704/0.3233, allocations: 191 kB / 1.074 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001196/0.3245, allocations: 0.5113 MB / 1.074 GB, free: 5.484 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3246, allocations: 4 kB / 1.074 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000729/0.3253, allocations: 295.8 kB / 1.074 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004343/0.3257, allocations: 73.08 kB / 1.074 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008367/0.3266, allocations: 0.5233 MB / 1.075 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.3269, allocations: 0.7292 MB / 1.076 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000133/0.327, allocations: 47.41 kB / 1.076 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.327, allocations: 0 / 1.076 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of Templates: time 0.0079/0.335, allocations: 4.716 MB / 1.08 GB, free: 15.1 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