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.001422/0.001422, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001083/0.001083, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 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 1.032/1.032, allocations: 177.1 MB / 204.2 MB, free: 5.258 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.858/1.858, allocations: 359 MB / 0.6052 GB, free: 11.02 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.413e-06/1.413e-06, allocations: 0 / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.401e-05/2.542e-05, allocations: 2.312 kB / 0.787 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002022/0.002047, allocations: 1.303 MB / 0.7883 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003175/0.005223, allocations: 3.375 MB / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.00526, allocations: 0 / 0.7916 GB, free: 7.855 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.591e-05/0.005286, allocations: 8.547 kB / 0.7916 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.042e-05/0.005337, allocations: 4.969 kB / 0.7916 GB, free: 7.844 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.00589, allocations: 100.2 kB / 0.7917 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.005968, allocations: 44.47 kB / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.006005, allocations: 0 / 0.7918 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.953e-05/0.006064, allocations: 29.23 kB / 0.7918 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.006129, allocations: 19.92 kB / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.006142, allocations: 0 / 0.7918 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001901/0.006332, allocations: 68.25 kB / 0.7919 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.006349, allocations: 11.92 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.006375, allocations: 13.42 kB / 0.7919 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001753/0.00655, allocations: 63.86 kB / 0.792 GB, free: 7.504 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.006555, allocations: 3.984 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.174e-06/0.006557, allocations: 1.531 kB / 0.792 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.006562, allocations: 0 / 0.792 GB, free: 7.5 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.0003807/0.006943, allocations: 376.2 kB / 0.7923 GB, free: 7.098 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.006983, allocations: 8.031 kB / 0.7923 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.007108, allocations: 19.86 kB / 0.7924 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.356e-05/0.007192, allocations: 116.5 kB / 0.7925 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.029e-05/0.007212, allocations: 8.359 kB / 0.7925 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.007242, allocations: 8.375 kB / 0.7925 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.007381, allocations: 123.3 kB / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.007387, allocations: 192 / 0.7926 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.007401, allocations: 12.12 kB / 0.7926 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.007408, allocations: 1.594 kB / 0.7926 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.007454, allocations: 11.98 kB / 0.7926 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001379/0.007592, allocations: 120.6 kB / 0.7927 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.436e-05/0.007676, allocations: 58.98 kB / 0.7928 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.0077, allocations: 12.19 kB / 0.7928 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004964/0.008197, allocations: 301.2 kB / 0.7931 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.008219, allocations: 33.89 kB / 0.7931 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.00822, allocations: 5.438 kB / 0.7931 GB, free: 6.148 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.000484/0.008704, allocations: 229.6 kB / 0.7934 GB, free: 5.887 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.008731, allocations: 52 kB / 0.7934 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.528e-05/0.008806, allocations: 169.8 kB / 0.7936 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.008818, allocations: 27.7 kB / 0.7936 GB, free: 5.609 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.46e-05/0.008862, allocations: 134.8 kB / 0.7937 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.008878, allocations: 23.8 kB / 0.7937 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.008919, allocations: 39.31 kB / 0.7938 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.009025, allocations: 492.1 kB / 0.7942 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.009049, allocations: 20.45 kB / 0.7943 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.102e-05/0.0091, allocations: 66.11 kB / 0.7943 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.009254, allocations: 84.25 kB / 0.7944 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.009256, allocations: 0 / 0.7944 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001182/0.009374, allocations: 94.39 kB / 0.7945 GB, free: 4.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.009388, allocations: 4.844 kB / 0.7945 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.009395, allocations: 4 kB / 0.7945 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.009413, allocations: 2.469 kB / 0.7945 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.936e-05/0.009472, allocations: 23.98 kB / 0.7945 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.009478, allocations: 0 / 0.7945 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.312e-05/0.009501, allocations: 4 kB / 0.7945 GB, free: 4.562 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.009509, allocations: 8.438 kB / 0.7945 GB, free: 4.555 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 7.434e-05/0.009584, allocations: 165.5 kB / 0.7947 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.009606, allocations: 11.94 kB / 0.7947 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.004e-05/0.009636, allocations: 16.11 kB / 0.7947 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.009638, allocations: 1.094 kB / 0.7947 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.009642, allocations: 0 / 0.7947 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.009646, allocations: 4 kB / 0.7947 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.009803, allocations: 137.8 kB / 0.7949 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.009804, allocations: 0 / 0.7949 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.124e-05/0.009855, allocations: 15.98 kB / 0.7949 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.009858, allocations: 1.625 kB / 0.7949 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.009866, allocations: 0 / 0.7949 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.009868, allocations: 4 kB / 0.7949 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.009869, allocations: 0 / 0.7949 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001576/0.01003, allocations: 220.5 kB / 0.7951 GB, free: 3.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.01005, allocations: 19.94 kB / 0.7951 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.01007, allocations: 0.5625 kB / 0.7951 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.01012, allocations: 0 / 0.7951 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.01013, allocations: 9.078 kB / 0.7951 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.01014, allocations: 4 kB / 0.7951 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.717e-05/0.01018, allocations: 127.1 kB / 0.7953 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01018, allocations: 0.6562 kB / 0.7953 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001748/0.01035, allocations: 12.91 kB / 0.7953 GB, free: 3.762 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.0001162/0.01047, allocations: 107.1 kB / 0.7954 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.846e-05/0.01057, allocations: 51.53 kB / 0.7954 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01057, allocations: 0 / 0.7954 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.926e-05/0.01059, allocations: 23.67 kB / 0.7954 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001871/0.01077, allocations: 8.156 kB / 0.7954 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006291/0.0114, allocations: 268.8 kB / 0.7957 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.66e-05/0.01144, allocations: 59.34 kB / 0.7958 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.754e-05/0.01148, allocations: 8 kB / 0.7958 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.01151, allocations: 16.44 kB / 0.7958 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of SimCode: time 1.092e-06/0.01151, allocations: 0 / 0.7958 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of Templates: time 0.002963/0.01447, allocations: 0.6425 MB / 0.7964 GB, free: 2.547 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: 5.196190342307091]