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.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.001134/0.001134, allocations: 73.09 kB / 20.65 MB, free: 3.844 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.001118/0.001118, allocations: 169 kB / 24.06 MB, free: 452 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.9994/0.9994, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.246/2.246, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Examples.WaterDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.8793 GB, free: 6.055 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.659e-05/3.841e-05, allocations: 5.859 kB / 0.8793 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.002671/0.002709, allocations: 1.322 MB / 0.8806 GB, free: 4.738 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003379/0.006088, allocations: 3.344 MB / 0.8839 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.253e-05/0.00613, allocations: 0 / 0.8839 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.116e-05/0.006151, allocations: 7.938 kB / 0.8839 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.134e-05/0.006203, allocations: 3.984 kB / 0.8839 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006071/0.00681, allocations: 103.4 kB / 0.884 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 8.772e-05/0.006898, allocations: 43.83 kB / 0.884 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.117e-05/0.006939, allocations: 8 kB / 0.8841 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.036e-05/0.007009, allocations: 23.92 kB / 0.8841 GB, free: 1.203 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.29e-05/0.007082, allocations: 11.97 kB / 0.8841 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.007094, allocations: 8 kB / 0.8841 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.0073, allocations: 71.73 kB / 0.8842 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.007317, allocations: 7.938 kB / 0.8842 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.687e-05/0.007344, allocations: 23.91 kB / 0.8842 GB, free: 1.082 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.007498, allocations: 55.88 kB / 0.8842 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.007503, allocations: 4 kB / 0.8843 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/0.007504, allocations: 0 / 0.8843 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.007509, allocations: 0 / 0.8843 GB, free: 1.023 MB / 0.8386 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.0003651/0.007874, allocations: 376.5 kB / 0.8846 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.007923, allocations: 12.03 kB / 0.8846 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.008043, allocations: 12.88 kB / 0.8846 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.678e-05/0.008119, allocations: 108.6 kB / 0.8847 GB, free: 476 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.008132, allocations: 12.25 kB / 0.8848 GB, free: 464 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.008154, allocations: 8.328 kB / 0.8848 GB, free: 456 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.008274, allocations: 127.3 kB / 0.8849 GB, free: 304 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.008281, allocations: 192 / 0.8849 GB, free: 304 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.00829, allocations: 4.125 kB / 0.8849 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.008295, allocations: 0 / 0.8849 GB, free: 300 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.38e-05/0.008329, allocations: 15.97 kB / 0.8849 GB, free: 284 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.008454, allocations: 109.2 kB / 0.885 GB, free: 148 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.721e-05/0.008521, allocations: 54.98 kB / 0.8851 GB, free: 80 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.116e-05/0.008542, allocations: 19.67 kB / 0.8851 GB, free: 56 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005009/0.009043, allocations: 288.8 kB / 0.8854 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.00907, allocations: 33.39 kB / 0.8854 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.009071, allocations: 0 / 0.8854 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004485/0.009519, allocations: 229.7 kB / 0.8856 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.121e-05/0.009551, allocations: 59.33 kB / 0.8857 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.816e-05/0.009629, allocations: 161.9 kB / 0.8858 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.009643, allocations: 29.7 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.037e-05/0.009694, allocations: 138.8 kB / 0.886 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.009715, allocations: 31.72 kB / 0.886 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.009755, allocations: 27.38 kB / 0.886 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.003149/0.0129, allocations: 0.4884 MB / 0.8865 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.01293, allocations: 8 kB / 0.8865 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.97e-05/0.01298, allocations: 66.09 kB / 0.8866 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.036e-05/0.01306, allocations: 86.16 kB / 0.8867 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.01306, allocations: 4 kB / 0.8867 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001242/0.01318, allocations: 93.42 kB / 0.8868 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.0132, allocations: 4 kB / 0.8868 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.0132, allocations: 0 / 0.8868 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.01322, allocations: 4 kB / 0.8868 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.813e-05/0.01328, allocations: 16 kB / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.01329, allocations: 4 kB / 0.8868 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/0.01332, allocations: 7.984 kB / 0.8868 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.01333, allocations: 4 kB / 0.8868 GB, free: 14.11 MB / 0.8542 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.994e-05/0.01341, allocations: 168.6 kB / 0.887 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.01344, allocations: 11.89 kB / 0.887 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.586e-05/0.01347, allocations: 8.125 kB / 0.887 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.01347, allocations: 0 / 0.887 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01347, allocations: 0 / 0.887 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.01347, allocations: 0 / 0.887 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.01366, allocations: 117.2 kB / 0.8871 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01366, allocations: 0 / 0.8871 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.01373, allocations: 15.98 kB / 0.8871 GB, free: 13.76 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.01374, allocations: 7.938 kB / 0.8871 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.01374, allocations: 4 kB / 0.8871 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.01374, allocations: 0 / 0.8871 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01374, allocations: 448 / 0.8871 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.01392, allocations: 219.8 kB / 0.8873 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.01395, allocations: 7.953 kB / 0.8873 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003061/0.01426, allocations: 3.938 kB / 0.8873 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.01433, allocations: 4 kB / 0.8873 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.01435, allocations: 11.98 kB / 0.8873 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.01436, allocations: 0 / 0.8873 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.0144, allocations: 123.2 kB / 0.8875 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.0144, allocations: 0 / 0.8875 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002294/0.01463, allocations: 16 kB / 0.8875 GB, free: 13.35 MB / 0.8542 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.0001425/0.01477, allocations: 99.23 kB / 0.8876 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.01488, allocations: 43.97 kB / 0.8876 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.01488, allocations: 0 / 0.8876 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.519e-05/0.01491, allocations: 31.77 kB / 0.8876 GB, free: 13.16 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.01514, allocations: 10.66 kB / 0.8877 GB, free: 13.15 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.01882, allocations: 282.2 kB / 0.8879 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.01886, allocations: 60 kB / 0.888 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.125e-05/0.01891, allocations: 4 kB / 0.888 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.01897, allocations: 86.19 kB / 0.8881 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of SimCode: time 8.62e-07/0.01898, allocations: 0 / 0.8881 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of Templates: time 0.002545/0.02152, allocations: 0.7229 MB / 0.8888 GB, free: 11.97 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Examples.WaterDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.722913793288171]