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.001457/0.001457, allocations: 71.75 kB / 20.97 MB, free: 3.566 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.001289/0.001289, allocations: 169 kB / 24.28 MB, free: 268 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 1.049/1.049, allocations: 177.1 MB / 204.6 MB, free: 5.629 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.775/1.775, allocations: 359 MB / 0.6055 GB, free: 10.98 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.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.079e-05, allocations: 5.406 kB / 0.787 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001576/0.001597, allocations: 1.302 MB / 0.7883 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002973/0.00457, allocations: 3.372 MB / 0.7916 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.183e-05/0.004602, allocations: 0 / 0.7916 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.825e-05/0.00462, allocations: 0 / 0.7916 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.394e-05/0.004664, allocations: 7.922 kB / 0.7916 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004586/0.005123, allocations: 112.1 kB / 0.7917 GB, free: 8.055 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.901e-05/0.005192, allocations: 37.52 kB / 0.7918 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.005225, allocations: 3.984 kB / 0.7918 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.389e-05/0.005279, allocations: 27.91 kB / 0.7918 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.591e-05/0.005335, allocations: 15.98 kB / 0.7918 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.005346, allocations: 1.344 kB / 0.7918 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001575/0.005504, allocations: 71.69 kB / 0.7919 GB, free: 7.902 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.005516, allocations: 3.984 kB / 0.7919 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.506e-05/0.005542, allocations: 15.98 kB / 0.7919 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001455/0.005687, allocations: 69.39 kB / 0.792 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.005689, allocations: 0 / 0.792 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.52e-07/0.00569, allocations: 0 / 0.792 GB, free: 7.816 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.918e-06/0.005694, allocations: 3.938 kB / 0.792 GB, free: 7.812 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.0003306/0.006024, allocations: 377.8 kB / 0.7923 GB, free: 7.41 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.00606, allocations: 8.031 kB / 0.7923 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.006167, allocations: 13.17 kB / 0.7923 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.85e-05/0.006236, allocations: 109.6 kB / 0.7924 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.006248, allocations: 4.375 kB / 0.7925 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.006269, allocations: 8.375 kB / 0.7925 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.006389, allocations: 123.9 kB / 0.7926 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.006394, allocations: 0.7188 kB / 0.7926 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.006408, allocations: 13.14 kB / 0.7926 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.006415, allocations: 0 / 0.7926 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.858e-05/0.006453, allocations: 23.91 kB / 0.7926 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001181/0.006571, allocations: 121.3 kB / 0.7927 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.279e-05/0.006654, allocations: 59.03 kB / 0.7928 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.228e-05/0.006676, allocations: 16.22 kB / 0.7928 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004558/0.007132, allocations: 297.9 kB / 0.7931 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.007155, allocations: 41.27 kB / 0.7931 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.007156, allocations: 0 / 0.7931 GB, free: 6.461 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004392/0.007595, allocations: 231.2 kB / 0.7933 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.007621, allocations: 51.41 kB / 0.7934 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.225e-05/0.007693, allocations: 162.8 kB / 0.7936 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.084e-05/0.007704, allocations: 29.7 kB / 0.7936 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.007751, allocations: 144.3 kB / 0.7937 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.435e-05/0.007765, allocations: 23.8 kB / 0.7937 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-05/0.007805, allocations: 35.31 kB / 0.7938 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.007909, allocations: 496.1 kB / 0.7942 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.947e-05/0.007928, allocations: 17.33 kB / 0.7943 GB, free: 5.203 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.183e-05/0.00797, allocations: 58.12 kB / 0.7943 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.045e-05/0.008041, allocations: 94.89 kB / 0.7944 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.008042, allocations: 2.312 kB / 0.7944 GB, free: 5.004 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.411e-05/0.008136, allocations: 89.55 kB / 0.7945 GB, free: 4.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.008149, allocations: 4 kB / 0.7945 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.008154, allocations: 4 kB / 0.7945 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.008166, allocations: 3.438 kB / 0.7945 GB, free: 4.902 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.955e-05/0.008215, allocations: 19.98 kB / 0.7945 GB, free: 4.883 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.00822, allocations: 7.938 kB / 0.7945 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.031e-05/0.008241, allocations: 0 / 0.7945 GB, free: 4.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.008245, allocations: 4 kB / 0.7945 GB, free: 4.871 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.00831, allocations: 164.5 kB / 0.7947 GB, free: 4.699 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.008331, allocations: 11.95 kB / 0.7947 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.334e-05/0.008354, allocations: 8.125 kB / 0.7947 GB, free: 4.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.008356, allocations: 4 kB / 0.7947 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.00836, allocations: 1.031 kB / 0.7947 GB, free: 4.676 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.008364, allocations: 3.984 kB / 0.7947 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.008507, allocations: 133.1 kB / 0.7949 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.008508, allocations: 4.5 kB / 0.7949 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.008559, allocations: 20.36 kB / 0.7949 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.00856, allocations: 0.5625 kB / 0.7949 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.008567, allocations: 1.406 kB / 0.7949 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.00857, allocations: 8 kB / 0.7949 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.008571, allocations: 0 / 0.7949 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.008728, allocations: 224.3 kB / 0.7951 GB, free: 4.238 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.521e-05/0.008753, allocations: 15.94 kB / 0.7951 GB, free: 4.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.146e-05/0.008764, allocations: 4.812 kB / 0.7951 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.719e-05/0.008811, allocations: 0 / 0.7951 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.921e-05/0.008831, allocations: 8.922 kB / 0.7951 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.008835, allocations: 0 / 0.7951 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.541e-05/0.008871, allocations: 127.2 kB / 0.7952 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008871, allocations: 0.6562 kB / 0.7952 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001538/0.009025, allocations: 12.66 kB / 0.7953 GB, free: 4.074 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 9.44e-05/0.009119, allocations: 105.2 kB / 0.7954 GB, free: 3.965 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.352e-05/0.009213, allocations: 47.59 kB / 0.7954 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.009215, allocations: 0 / 0.7954 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.932e-05/0.009234, allocations: 18.88 kB / 0.7954 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.009404, allocations: 15.92 kB / 0.7954 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005861/0.00999, allocations: 272.3 kB / 0.7957 GB, free: 3.594 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.668e-05/0.01003, allocations: 59.36 kB / 0.7958 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.277e-05/0.01006, allocations: 7.984 kB / 0.7958 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.01008, allocations: 12.5 kB / 0.7958 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of SimCode: time 6.32e-07/0.01008, allocations: 4 kB / 0.7958 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of Templates: time 0.002205/0.01229, allocations: 0.6359 MB / 0.7964 GB, free: 2.871 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.002956466050819]