Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001766/0.001766, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.002279/0.002279, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.426/1.426, 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.466/2.466, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 65.12 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3355, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002165/0.3377, allocations: 1.264 MB / 1.028 GB, free: 0.8242 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003501/0.3412, allocations: 3.27 MB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.3413, allocations: 7.938 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.3413, allocations: 0 / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.3414, allocations: 7.922 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004496/0.3418, allocations: 95.55 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.384e-05/0.3419, allocations: 35.91 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.096e-05/0.3419, allocations: 4 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.533e-05/0.342, allocations: 31.84 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.3421, allocations: 11.98 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.3421, allocations: 4 kB / 1.031 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002138/0.3423, allocations: 79.73 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.443e-05/0.3423, allocations: 8 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.915e-05/0.3424, allocations: 11.92 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.3425, allocations: 67.91 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3426, allocations: 3.938 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3426, allocations: 0 / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.3426, allocations: 0 / 1.031 GB, free: 13.17 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000383/0.343, allocations: 355.5 kB / 1.032 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.343, allocations: 8.031 kB / 1.032 GB, free: 12.77 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.96e-05/0.3431, allocations: 8.844 kB / 1.032 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.3432, allocations: 168.3 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.3432, allocations: 8.375 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.3433, allocations: 4.375 kB / 1.032 GB, free: 12.55 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.3434, allocations: 57.8 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.3434, allocations: 4 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.3434, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.3434, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.626e-05/0.3435, allocations: 27.95 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001577/0.3437, allocations: 157.7 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.905e-05/0.3438, allocations: 50.5 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.045e-05/0.3438, allocations: 20.84 kB / 1.032 GB, free: 12.17 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006713/0.3445, allocations: 0.5987 MB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3445, allocations: 30.56 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.3445, allocations: 3.938 kB / 1.033 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005427/0.3451, allocations: 302.2 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.023e-05/0.3451, allocations: 55.41 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.296e-05/0.3452, allocations: 105.8 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3452, allocations: 25.7 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.3453, allocations: 84.05 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.3453, allocations: 31.55 kB / 1.034 GB, free: 10.74 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.3453, allocations: 29.66 kB / 1.034 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3454, allocations: 322.8 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.502e-05/0.3455, allocations: 8 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.149e-05/0.3455, allocations: 57.14 kB / 1.034 GB, free: 10.3 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.949e-05/0.3456, allocations: 73.08 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3456, allocations: 4 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000129/0.3458, allocations: 93.98 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3458, allocations: 8 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.3458, allocations: 3.938 kB / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.3458, allocations: 0 / 1.034 GB, free: 10.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.3459, allocations: 24 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.3459, allocations: 3.984 kB / 1.034 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.346, allocations: 7.938 kB / 1.034 GB, free: 10.06 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.346, allocations: 4 kB / 1.034 GB, free: 10.06 MB / 0.8106 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 9.451e-05/0.3461, allocations: 121.8 kB / 1.034 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.3461, allocations: 7.906 kB / 1.034 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.538e-05/0.3461, allocations: 7.969 kB / 1.034 GB, free: 9.918 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3461, allocations: 4 kB / 1.034 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3462, allocations: 0 / 1.034 GB, free: 9.914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3462, allocations: 3.938 kB / 1.034 GB, free: 9.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.3464, allocations: 177.7 kB / 1.034 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3464, allocations: 288 / 1.034 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.569e-05/0.3465, allocations: 15.98 kB / 1.034 GB, free: 9.672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3465, allocations: 4 kB / 1.034 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3465, allocations: 0 / 1.034 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3465, allocations: 4 kB / 1.034 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.3465, allocations: 0 / 1.034 GB, free: 9.664 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.3467, allocations: 175.4 kB / 1.035 GB, free: 9.477 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3468, allocations: 85.02 kB / 1.035 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3468, allocations: 7.938 kB / 1.035 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3469, allocations: 8.031 kB / 1.035 GB, free: 9.359 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.3469, allocations: 4 kB / 1.035 GB, free: 9.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-06/0.3469, allocations: 11.88 kB / 1.035 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.347, allocations: 79.28 kB / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.347, allocations: 0 / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002623/0.3473, allocations: 12 kB / 1.035 GB, free: 9.254 MB / 0.8106 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.0001233/0.3474, allocations: 103.2 kB / 1.035 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.3475, allocations: 47.97 kB / 1.035 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.3475, allocations: 0 / 1.035 GB, free: 9.098 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.3476, allocations: 19.94 kB / 1.035 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.3479, allocations: 14.64 kB / 1.035 GB, free: 9.066 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.3484, allocations: 310.6 kB / 1.035 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.3487, allocations: 0.6885 MB / 1.036 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.36e-05/0.3487, allocations: 8 kB / 1.036 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.219e-05/0.3488, allocations: 7.438 kB / 1.036 GB, free: 8.004 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.3488, allocations: 4 kB / 1.036 GB, free: 8 MB / 0.8106 GB Notification: Performance of Templates: time 0.00295/0.3517, allocations: 0.6235 MB / 1.037 GB, free: 7.383 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches