Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007104/0.007104, allocations: 99.72 kB / 15.73 MB, free: 6.484 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.001237/0.001237, allocations: 188.5 kB / 16.67 MB, free: 6.367 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.429/1.429, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.707/2.707, allocations: 437 MB / 0.7105 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.91 kB / 1.018 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3845, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002792/0.3874, allocations: 1.276 MB / 1.168 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004454/0.3918, allocations: 3.249 MB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.289e-05/0.3919, allocations: 0 / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.558e-05/0.3919, allocations: 3.938 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.58e-05/0.392, allocations: 11.92 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006255/0.3926, allocations: 111.5 kB / 1.171 GB, free: 2.172 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.771e-05/0.3927, allocations: 35.86 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.3928, allocations: 3.984 kB / 1.171 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.504e-05/0.3928, allocations: 15.94 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.606e-05/0.3929, allocations: 23.91 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.393, allocations: 4 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.3932, allocations: 75.8 kB / 1.171 GB, free: 2.016 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.171e-05/0.3932, allocations: 7.922 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.3933, allocations: 15.94 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.3935, allocations: 75.78 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3935, allocations: 0 / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3935, allocations: 0 / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3935, allocations: 0 / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004469/0.394, allocations: 343.4 kB / 1.172 GB, free: 1.535 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.394, allocations: 12.03 kB / 1.172 GB, free: 1.523 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00011/0.3941, allocations: 8.922 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.3943, allocations: 164.3 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.3943, allocations: 4.375 kB / 1.172 GB, free: 1.312 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.075e-05/0.3943, allocations: 12.33 kB / 1.172 GB, free: 1.301 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.3945, allocations: 57.78 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.3945, allocations: 0 / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.3945, allocations: 4 kB / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.3945, allocations: 0 / 1.172 GB, free: 1.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.872e-05/0.3946, allocations: 19.98 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.3948, allocations: 169.6 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.3949, allocations: 62.48 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.041e-05/0.3949, allocations: 16.8 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000771/0.3957, allocations: 0.5946 MB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.3957, allocations: 34.56 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.3957, allocations: 0 / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006573/0.3964, allocations: 306.6 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.3965, allocations: 55.34 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.242e-05/0.3965, allocations: 101.8 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3966, allocations: 29.7 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/0.3966, allocations: 84.09 kB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.245e-05/0.3966, allocations: 31.73 kB / 1.173 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.181e-05/0.3967, allocations: 25.72 kB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001169/0.3968, allocations: 318.8 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.3968, allocations: 15.98 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.357e-05/0.3969, allocations: 49.14 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.901e-05/0.397, allocations: 77.09 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.397, allocations: 0 / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001411/0.3972, allocations: 93.5 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.3972, allocations: 6.031 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.3972, allocations: 4 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.3972, allocations: 3.984 kB / 1.174 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.556e-05/0.3973, allocations: 20.06 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3973, allocations: 8 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.259e-05/0.3974, allocations: 12.31 kB / 1.174 GB, free: 14.81 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3974, allocations: 7.938 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 8.228e-05/0.3975, allocations: 118.7 kB / 1.174 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.858e-05/0.3975, allocations: 7.984 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.3975, allocations: 8.25 kB / 1.174 GB, free: 14.66 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.3975, allocations: 4 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.393e-06/0.3976, allocations: 3.984 kB / 1.174 GB, free: 14.65 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3976, allocations: 11.94 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002402/0.3978, allocations: 169.7 kB / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3978, allocations: 0 / 1.174 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.651e-05/0.3979, allocations: 12 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.3979, allocations: 3.984 kB / 1.174 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3979, allocations: 4 kB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3979, allocations: 0 / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.3979, allocations: 4 kB / 1.174 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.3982, allocations: 179.4 kB / 1.174 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.381e-05/0.3982, allocations: 85.14 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.273e-05/0.3983, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.3984, allocations: 0 / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.367e-05/0.3984, allocations: 11.98 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.3984, allocations: 3.938 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.712e-05/0.3984, allocations: 79.28 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3985, allocations: 0 / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002472/0.3987, allocations: 16 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001354/0.3988, allocations: 99.25 kB / 1.175 GB, free: 13.89 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001255/0.399, allocations: 47.91 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.399, allocations: 0 / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.399, allocations: 15.94 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.3993, allocations: 8 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.3999, allocations: 322.4 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.4002, allocations: 0.6846 MB / 1.176 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.076e-05/0.4002, allocations: 11.97 kB / 1.176 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.4003, allocations: 15.44 kB / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.4003, allocations: 0 / 1.176 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of Templates: time 0.003065/0.4033, allocations: 0.6176 MB / 1.176 GB, free: 12.13 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches