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.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.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.0012/0.001201, allocations: 114.6 kB / 16.37 MB, free: 6.012 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.001095/0.001095, allocations: 192.6 kB / 17.31 MB, free: 5.613 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.498/2.498, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 63.38 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.359, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003108/0.3621, allocations: 1.395 MB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003935/0.3661, allocations: 2.913 MB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.622e-05/0.3661, allocations: 0 / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.3663, allocations: 7.922 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.3664, allocations: 39.81 kB / 1.031 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007197/0.3672, allocations: 187.1 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003107/0.3675, allocations: 239.5 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.672e-05/0.3676, allocations: 11.98 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001486/0.3677, allocations: 91.84 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.3679, allocations: 127.7 kB / 1.032 GB, free: 13.03 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.168e-05/0.3679, allocations: 8 kB / 1.032 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004602/0.3684, allocations: 139.8 kB / 1.032 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.3685, allocations: 87.75 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.3687, allocations: 87.64 kB / 1.032 GB, free: 12.71 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.3692, allocations: 279.2 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3692, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3692, allocations: 0 / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 8.876e-06/0.3692, allocations: 0 / 1.032 GB, free: 12.44 MB / 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.0009212/0.3701, allocations: 0.5273 MB / 1.033 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3702, allocations: 12.03 kB / 1.033 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001494/0.3703, allocations: 16.75 kB / 1.033 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.3707, allocations: 240 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.89e-05/0.3707, allocations: 28.36 kB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.3708, allocations: 16.38 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006428/0.3714, allocations: 289.2 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3714, allocations: 3.938 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.3715, allocations: 4 kB / 1.033 GB, free: 11.22 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.513e-05/0.3715, allocations: 8 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.3729, allocations: 0.7413 MB / 1.034 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.3733, allocations: 313.1 kB / 1.034 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.3748, allocations: 0.6761 MB / 1.035 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004658/0.3753, allocations: 232.7 kB / 1.035 GB, free: 9.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004944/0.3758, allocations: 384.4 kB / 1.036 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.3759, allocations: 46.5 kB / 1.036 GB, free: 8.691 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=37): time 4.949e-06/0.3759, allocations: 4 kB / 1.036 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37): time 0.001531/0.3774, allocations: 0.6518 MB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3775, allocations: 55.41 kB / 1.036 GB, free: 7.965 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.3776, allocations: 126.1 kB / 1.036 GB, free: 7.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3776, allocations: 29.7 kB / 1.036 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.3777, allocations: 92.8 kB / 1.037 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.3778, allocations: 134.1 kB / 1.037 GB, free: 7.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.3779, allocations: 61.69 kB / 1.037 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.378, allocations: 326.8 kB / 1.037 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/0.3784, allocations: 195.8 kB / 1.037 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004335/0.3789, allocations: 204.5 kB / 1.037 GB, free: 6.785 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000801/0.3797, allocations: 364.5 kB / 1.038 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3797, allocations: 0 / 1.038 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009858/0.3807, allocations: 468.9 kB / 1.038 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.3807, allocations: 4 kB / 1.038 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3807, allocations: 0 / 1.038 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.3808, allocations: 0 / 1.038 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.3811, allocations: 103.8 kB / 1.038 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.3811, allocations: 4 kB / 1.038 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.3813, allocations: 47.7 kB / 1.038 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.3814, allocations: 15.98 kB / 1.038 GB, free: 5.789 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.0001444/0.3815, allocations: 145.7 kB / 1.039 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.096e-05/0.3816, allocations: 19.75 kB / 1.039 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.3827, allocations: 0.5171 MB / 1.039 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.3827, allocations: 8 kB / 1.039 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.3827, allocations: 0 / 1.039 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3827, allocations: 3.938 kB / 1.039 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/0.383, allocations: 317.2 kB / 1.039 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3831, allocations: 0 / 1.039 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.3834, allocations: 103.8 kB / 1.039 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3834, allocations: 4 kB / 1.039 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.3834, allocations: 11.98 kB / 1.039 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3834, allocations: 4 kB / 1.039 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3834, allocations: 0 / 1.039 GB, free: 4.602 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009741/0.3844, allocations: 0.4926 MB / 1.04 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.011e-05/0.3845, allocations: 96.8 kB / 1.04 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.3845, allocations: 4 kB / 1.04 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.3847, allocations: 39.95 kB / 1.04 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/0.3849, allocations: 115.8 kB / 1.04 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-05/0.3849, allocations: 15.98 kB / 1.04 GB, free: 3.805 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.554e-05/0.385, allocations: 103.3 kB / 1.04 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.385, allocations: 0 / 1.04 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003867/0.3854, allocations: 119.9 kB / 1.04 GB, free: 3.586 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.0003182/0.3857, allocations: 183.1 kB / 1.041 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00101/0.3868, allocations: 471.3 kB / 1.041 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3868, allocations: 3.938 kB / 1.041 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.3873, allocations: 255.5 kB / 1.041 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003992/0.3877, allocations: 79.92 kB / 1.041 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.3884, allocations: 424 kB / 1.042 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.3887, allocations: 0.7289 MB / 1.042 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.000376/0.3891, allocations: 199.5 kB / 1.043 GB, free: 1.223 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.265e-05/0.3892, allocations: 39.42 kB / 1.043 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.3892, allocations: 0 / 1.043 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of Templates: time 0.009077/0.3983, allocations: 5.258 MB / 1.048 GB, free: 12 MB / 0.8262 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 -s cvode -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