Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 81.95 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000956/0.000956, allocations: 185.3 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9577/0.9577, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.696/1.696, allocations: 359 MB / 0.6055 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.7875 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.63e-05/2.82e-05, allocations: 13.41 kB / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001766/0.001795, allocations: 1.296 MB / 0.7888 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.00316/0.004954, allocations: 3.351 MB / 0.7921 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.004987, allocations: 0.7812 kB / 0.7921 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.943e-05/0.005006, allocations: 0 / 0.7921 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.366e-05/0.00505, allocations: 8.891 kB / 0.7921 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004886/0.005538, allocations: 104.4 kB / 0.7922 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.668e-05/0.005605, allocations: 39.84 kB / 0.7922 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.229e-05/0.005637, allocations: 5.344 kB / 0.7922 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.699e-05/0.005694, allocations: 27.95 kB / 0.7922 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.62e-05/0.005751, allocations: 11.94 kB / 0.7922 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.005762, allocations: 0.9062 kB / 0.7922 GB, free: 7.406 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.005929, allocations: 71.73 kB / 0.7923 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.005942, allocations: 8.969 kB / 0.7923 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.005959, allocations: 15.97 kB / 0.7923 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001354/0.006095, allocations: 63.86 kB / 0.7924 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.006097, allocations: 4.969 kB / 0.7924 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.52e-07/0.006097, allocations: 0 / 0.7924 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.006101, allocations: 0 / 0.7924 GB, free: 7.246 MB / 0.7448 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.000311/0.006412, allocations: 381.7 kB / 0.7928 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.006448, allocations: 8.031 kB / 0.7928 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.75e-05/0.006536, allocations: 13.17 kB / 0.7928 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.849e-05/0.006594, allocations: 109.2 kB / 0.7929 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.006605, allocations: 1.031 kB / 0.7929 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.971e-05/0.006624, allocations: 12.38 kB / 0.7929 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.006729, allocations: 127.9 kB / 0.793 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.006737, allocations: 0.9375 kB / 0.793 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.006746, allocations: 12.11 kB / 0.793 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.892e-06/0.006752, allocations: 4.938 kB / 0.793 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.819e-05/0.00678, allocations: 15.92 kB / 0.7931 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.87e-05/0.006879, allocations: 97.27 kB / 0.7932 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.998e-05/0.006939, allocations: 59.62 kB / 0.7932 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.506e-05/0.006954, allocations: 13.06 kB / 0.7932 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003876/0.007342, allocations: 292.5 kB / 0.7935 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.007368, allocations: 45.31 kB / 0.7935 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.00737, allocations: 1.25 kB / 0.7935 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0003511/0.007721, allocations: 225.9 kB / 0.7938 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.007744, allocations: 56.22 kB / 0.7938 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.549e-05/0.00781, allocations: 161.9 kB / 0.794 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.00782, allocations: 26.64 kB / 0.794 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.2e-05/0.007862, allocations: 134.8 kB / 0.7941 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.64e-05/0.007879, allocations: 32.95 kB / 0.7942 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.007912, allocations: 35.3 kB / 0.7942 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.008017, allocations: 0.4884 MB / 0.7947 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.233e-05/0.008029, allocations: 4 kB / 0.7947 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.881e-05/0.008068, allocations: 70.94 kB / 0.7947 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.349e-05/0.008131, allocations: 80.2 kB / 0.7948 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.008133, allocations: 0 / 0.7948 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.092e-05/0.008224, allocations: 96.5 kB / 0.7949 GB, free: 4.387 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.008235, allocations: 4 kB / 0.7949 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.00824, allocations: 4 kB / 0.7949 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.008252, allocations: 0 / 0.7949 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.969e-05/0.008302, allocations: 19.98 kB / 0.7949 GB, free: 4.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.008307, allocations: 7.938 kB / 0.7949 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.134e-05/0.008328, allocations: 4 kB / 0.7949 GB, free: 4.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-06/0.008332, allocations: 4 kB / 0.7949 GB, free: 4.344 MB / 0.7448 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 6.522e-05/0.008397, allocations: 165.9 kB / 0.7951 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.008416, allocations: 7.938 kB / 0.7951 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.008442, allocations: 8.75 kB / 0.7951 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.008444, allocations: 4 kB / 0.7951 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.008446, allocations: 0.5625 kB / 0.7951 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.008449, allocations: 1.281 kB / 0.7951 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.008585, allocations: 109.7 kB / 0.7952 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.008586, allocations: 0 / 0.7952 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.784e-05/0.008634, allocations: 27.92 kB / 0.7953 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.008637, allocations: 5.031 kB / 0.7953 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.569e-06/0.008641, allocations: 0 / 0.7953 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.008642, allocations: 0 / 0.7953 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008643, allocations: 0.6562 kB / 0.7953 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001385/0.008781, allocations: 221.3 kB / 0.7955 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.075e-05/0.008802, allocations: 8 kB / 0.7955 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-06/0.00881, allocations: 7.875 kB / 0.7955 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.766e-05/0.008858, allocations: 7.984 kB / 0.7955 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-06/0.008868, allocations: 3.656 kB / 0.7955 GB, free: 3.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.008873, allocations: 8 kB / 0.7955 GB, free: 3.723 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.104e-05/0.008904, allocations: 123.5 kB / 0.7956 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008904, allocations: 0 / 0.7956 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001538/0.009058, allocations: 12 kB / 0.7956 GB, free: 3.59 MB / 0.7448 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.0001005/0.009158, allocations: 107.3 kB / 0.7957 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.518e-05/0.009233, allocations: 44.47 kB / 0.7958 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.009235, allocations: 0 / 0.7958 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.539e-05/0.009251, allocations: 20.8 kB / 0.7958 GB, free: 3.406 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.009416, allocations: 9.562 kB / 0.7958 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004989/0.009915, allocations: 275.9 kB / 0.7961 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.009946, allocations: 59.34 kB / 0.7961 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.619e-05/0.009983, allocations: 15.97 kB / 0.7961 GB, free: 3.012 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.597e-05/0.01004, allocations: 82.2 kB / 0.7962 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of SimCode: time 1.463e-06/0.01004, allocations: 0 / 0.7962 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of Templates: time 0.002174/0.01221, allocations: 0.7076 MB / 0.7969 GB, free: 2.23 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterDerivativeCheck.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.831503076013178]