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.0009094/0.0009094, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001186/0.001186, allocations: 169 kB / 23.02 MB, free: 1.551 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.007/1.007, allocations: 177.1 MB / 203.4 MB, free: 5.66 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.156/2.156, allocations: 429.5 MB / 0.6732 GB, free: 4.051 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.963e-06/1.963e-06, allocations: 0 / 0.8781 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.406e-05, allocations: 3.125 kB / 0.8781 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001849/0.001883, allocations: 1.314 MB / 0.8794 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003355/0.005238, allocations: 3.378 MB / 0.8827 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.67e-05/0.005275, allocations: 0 / 0.8827 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.005301, allocations: 5.172 kB / 0.8827 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-05/0.005357, allocations: 3.938 kB / 0.8827 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.005907, allocations: 108.5 kB / 0.8828 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.883e-05/0.005986, allocations: 36.52 kB / 0.8828 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.749e-05/0.006023, allocations: 11.98 kB / 0.8829 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.752e-05/0.006081, allocations: 24.69 kB / 0.8829 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.315e-05/0.006144, allocations: 17.56 kB / 0.8829 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.006156, allocations: 0 / 0.8829 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.006346, allocations: 67.7 kB / 0.883 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.518e-05/0.006361, allocations: 7.984 kB / 0.883 GB, free: 1.41 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.533e-05/0.006386, allocations: 18.86 kB / 0.883 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.006549, allocations: 67.8 kB / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.006552, allocations: 0 / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.975e-06/0.006555, allocations: 3.984 kB / 0.8831 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.006559, allocations: 0 / 0.8831 GB, free: 1.324 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.0004008/0.00696, allocations: 376.5 kB / 0.8834 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.007004, allocations: 8.031 kB / 0.8834 GB, free: 0.9141 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001369/0.007141, allocations: 14.47 kB / 0.8834 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.182e-05/0.007223, allocations: 112.6 kB / 0.8835 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.007237, allocations: 384 / 0.8835 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.007272, allocations: 12.33 kB / 0.8836 GB, free: 0.7539 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.007425, allocations: 128 kB / 0.8837 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.007434, allocations: 192 / 0.8837 GB, free: 0.6055 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.007448, allocations: 5.781 kB / 0.8837 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.007458, allocations: 11.92 kB / 0.8837 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.193e-05/0.0075, allocations: 15.92 kB / 0.8837 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.007642, allocations: 128.6 kB / 0.8838 GB, free: 424 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.769e-05/0.00772, allocations: 51.05 kB / 0.8839 GB, free: 360 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.191e-05/0.007742, allocations: 12.56 kB / 0.8839 GB, free: 344 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004967/0.008239, allocations: 297.2 kB / 0.8842 GB, free: 24 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.008279, allocations: 41.39 kB / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.00828, allocations: 4 kB / 0.8842 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004847/0.008765, allocations: 230 kB / 0.8844 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.554e-05/0.008791, allocations: 51.41 kB / 0.8845 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.667e-05/0.008867, allocations: 161.9 kB / 0.8846 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.008878, allocations: 25.7 kB / 0.8847 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.008923, allocations: 138.8 kB / 0.8848 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.317e-05/0.008936, allocations: 19.75 kB / 0.8848 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.339e-05/0.008969, allocations: 35.36 kB / 0.8849 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.009076, allocations: 0.4884 MB / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.157e-05/0.009097, allocations: 15.98 kB / 0.8853 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.744e-05/0.009145, allocations: 69.98 kB / 0.8854 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.009214, allocations: 82 kB / 0.8855 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.009215, allocations: 4 kB / 0.8855 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001027/0.009318, allocations: 93.5 kB / 0.8856 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.009331, allocations: 4.125 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.009338, allocations: 8 kB / 0.8856 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.009354, allocations: 3.938 kB / 0.8856 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.551e-05/0.00941, allocations: 23.92 kB / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.009417, allocations: 4 kB / 0.8856 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.357e-05/0.009441, allocations: 4 kB / 0.8856 GB, free: 14.37 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.009447, allocations: 4 kB / 0.8856 GB, free: 14.37 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.211e-05/0.009519, allocations: 164.5 kB / 0.8858 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.009537, allocations: 4 kB / 0.8858 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.009562, allocations: 12.11 kB / 0.8858 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.009565, allocations: 8 kB / 0.8858 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.009569, allocations: 0 / 0.8858 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.009571, allocations: 288 / 0.8858 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.009716, allocations: 132.6 kB / 0.8859 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.009717, allocations: 0 / 0.8859 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.017e-05/0.009768, allocations: 19.92 kB / 0.886 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.00977, allocations: 3.984 kB / 0.886 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.009778, allocations: 4 kB / 0.886 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.00978, allocations: 4.438 kB / 0.886 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009781, allocations: 0 / 0.886 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.009932, allocations: 219.8 kB / 0.8862 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.341e-05/0.009956, allocations: 11.98 kB / 0.8862 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.009968, allocations: 4 kB / 0.8862 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.779e-05/0.01002, allocations: 0 / 0.8862 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.01004, allocations: 11.98 kB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.658e-06/0.01004, allocations: 3.938 kB / 0.8862 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.059e-05/0.01007, allocations: 123.2 kB / 0.8863 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01007, allocations: 0 / 0.8863 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001585/0.01023, allocations: 16 kB / 0.8863 GB, free: 13.57 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.0001129/0.01034, allocations: 107.2 kB / 0.8864 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001006/0.01044, allocations: 39.61 kB / 0.8865 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01044, allocations: 4 kB / 0.8865 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.13e-05/0.01047, allocations: 31.75 kB / 0.8865 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.01065, allocations: 7.938 kB / 0.8865 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006088/0.01126, allocations: 270.4 kB / 0.8868 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.945e-05/0.0113, allocations: 64 kB / 0.8868 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.01133, allocations: 4 kB / 0.8868 GB, free: 12.99 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.552e-05/0.01136, allocations: 12.5 kB / 0.8869 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of SimCode: time 1.142e-06/0.01136, allocations: 3.938 kB / 0.8869 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of Templates: time 0.002409/0.01377, allocations: 0.6344 MB / 0.8875 GB, free: 12.35 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.695744724944234]