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.001028/0.001029, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008654/0.008655, allocations: 171.6 kB / 16.27 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.464/1.464, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.752/2.752, allocations: 462.7 MB / 0.7364 GB, free: 264 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003592/0.0003591, allocations: 15.44 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3439, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.001492/0.3455, allocations: 1.114 MB / 1.06 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004045/0.3495, allocations: 2.883 MB / 1.063 GB, free: 1.449 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.3496, allocations: 7.938 kB / 1.063 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.3497, allocations: 3.984 kB / 1.063 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.3499, allocations: 39.81 kB / 1.063 GB, free: 1.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006166/0.3505, allocations: 155.4 kB / 1.063 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003549/0.3509, allocations: 343.3 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.868e-05/0.3509, allocations: 0 / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.351, allocations: 87.86 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002099/0.3512, allocations: 139.7 kB / 1.063 GB, free: 0.6875 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.259e-05/0.3513, allocations: 12 kB / 1.063 GB, free: 0.6758 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003891/0.3517, allocations: 151.7 kB / 1.063 GB, free: 0.5273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3518, allocations: 87.81 kB / 1.064 GB, free: 452 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001151/0.3519, allocations: 117.3 kB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003484/0.3523, allocations: 267.6 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3523, allocations: 4 kB / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3523, allocations: 0 / 1.064 GB, free: 56 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.3523, allocations: 0 / 1.064 GB, free: 56 kB / 0.8106 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.0008625/0.3532, allocations: 0.5262 MB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.3532, allocations: 8.031 kB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.3534, allocations: 16.75 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002824/0.3537, allocations: 244 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.81e-05/0.3537, allocations: 24.36 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.517e-05/0.3538, allocations: 16.38 kB / 1.065 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007193/0.3545, allocations: 325.2 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3545, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.3545, allocations: 4 kB / 1.065 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.3545, allocations: 8 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001573/0.3561, allocations: 0.7999 MB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.3565, allocations: 305.1 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001905/0.3585, allocations: 0.7742 MB / 1.067 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.359, allocations: 266.2 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004377/0.3595, allocations: 396.3 kB / 1.068 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.3595, allocations: 42.44 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=37): time 1.683e-06/0.3595, allocations: 0 / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37): time 0.001918/0.3614, allocations: 0.7355 MB / 1.068 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.3615, allocations: 55.41 kB / 1.068 GB, free: 11.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002334/0.3617, allocations: 126.1 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.817e-05/0.3618, allocations: 37.7 kB / 1.068 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.3619, allocations: 92.73 kB / 1.069 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.362, allocations: 138 kB / 1.069 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.3621, allocations: 29.7 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.3623, allocations: 330.8 kB / 1.069 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/0.3629, allocations: 227.8 kB / 1.069 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.3634, allocations: 231.5 kB / 1.069 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.3645, allocations: 426.2 kB / 1.07 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.3645, allocations: 0 / 1.07 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001176/0.3657, allocations: 0.5045 MB / 1.07 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.3657, allocations: 11.98 kB / 1.07 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.3657, allocations: 0 / 1.07 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/0.3657, allocations: 0 / 1.07 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.3661, allocations: 115.9 kB / 1.071 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.3662, allocations: 0 / 1.071 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.3664, allocations: 59.8 kB / 1.071 GB, free: 8.949 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.122e-05/0.3664, allocations: 15.98 kB / 1.071 GB, free: 8.934 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.0001783/0.3666, allocations: 141.8 kB / 1.071 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.3666, allocations: 19.75 kB / 1.071 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.3679, allocations: 0.5728 MB / 1.071 GB, free: 8.191 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.3679, allocations: 4 kB / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.368, allocations: 0 / 1.071 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.368, allocations: 3.984 kB / 1.071 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003275/0.3683, allocations: 313.2 kB / 1.072 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3683, allocations: 0 / 1.072 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.3687, allocations: 119.8 kB / 1.072 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3687, allocations: 4 kB / 1.072 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/0.3687, allocations: 8 kB / 1.072 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.3687, allocations: 0 / 1.072 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3687, allocations: 0 / 1.072 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.3699, allocations: 0.5508 MB / 1.072 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.866e-05/0.3699, allocations: 96.8 kB / 1.072 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.37, allocations: 11.98 kB / 1.072 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.3702, allocations: 51.97 kB / 1.072 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000225/0.3704, allocations: 115.8 kB / 1.073 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.3704, allocations: 11.98 kB / 1.073 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.3705, allocations: 102.4 kB / 1.073 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3705, allocations: 11.88 kB / 1.073 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004188/0.371, allocations: 115.9 kB / 1.073 GB, free: 6.605 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.0004042/0.3714, allocations: 183.1 kB / 1.073 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001204/0.3726, allocations: 0.5269 MB / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3726, allocations: 0 / 1.073 GB, free: 5.891 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005638/0.3732, allocations: 287.4 kB / 1.074 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004303/0.3736, allocations: 89.28 kB / 1.074 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/0.3744, allocations: 498.2 kB / 1.074 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.3747, allocations: 0.7331 MB / 1.075 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.000429/0.3752, allocations: 177.7 kB / 1.075 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3753, allocations: 39.41 kB / 1.075 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.3753, allocations: 0 / 1.075 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of Templates: time 0.008993/0.3843, allocations: 4.837 MB / 1.08 GB, free: 15.27 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches