Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.0009573/0.0009573, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001197/0.001197, allocations: 173 kB / 23.49 MB, free: 1.055 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.02/1.02, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.107/2.107, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 0.8782 GB, free: 6.672 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.682e-05/2.873e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001763/0.001792, allocations: 1.319 MB / 0.8794 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002248/0.00404, allocations: 2.599 MB / 0.882 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.57e-05/0.004066, allocations: 0 / 0.882 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.832e-05/0.004084, allocations: 7.922 kB / 0.882 GB, free: 2.754 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.004126, allocations: 7.125 kB / 0.882 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.004573, allocations: 127.3 kB / 0.8821 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.556e-05/0.004639, allocations: 35.84 kB / 0.8821 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.773e-05/0.004677, allocations: 11.98 kB / 0.8822 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 5.484e-05/0.004731, allocations: 31.91 kB / 0.8822 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.493e-05/0.004786, allocations: 8.578 kB / 0.8822 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.004799, allocations: 4 kB / 0.8822 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.004997, allocations: 109 kB / 0.8823 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.536e-05/0.005013, allocations: 7.984 kB / 0.8823 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.00504, allocations: 15.98 kB / 0.8823 GB, free: 2.406 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.005209, allocations: 87.72 kB / 0.8824 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.005212, allocations: 0 / 0.8824 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005212, allocations: 0 / 0.8824 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.005216, allocations: 0 / 0.8824 GB, free: 2.32 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.0004583/0.005674, allocations: 380.5 kB / 0.8828 GB, free: 1.914 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.005709, allocations: 12.03 kB / 0.8828 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.005874, allocations: 24.8 kB / 0.8828 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.708e-05/0.005942, allocations: 112.6 kB / 0.8829 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.005954, allocations: 8.375 kB / 0.8829 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.951e-05/0.005973, allocations: 4.375 kB / 0.8829 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.006104, allocations: 158.4 kB / 0.8831 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.00611, allocations: 192 / 0.8831 GB, free: 1.539 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.00612, allocations: 4.125 kB / 0.8831 GB, free: 1.535 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.006129, allocations: 7.984 kB / 0.8831 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.857e-05/0.006157, allocations: 4 kB / 0.8831 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.00658, allocations: 0.525 MB / 0.8836 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.851e-05/0.006678, allocations: 93.11 kB / 0.8837 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.486e-05/0.006703, allocations: 31.27 kB / 0.8837 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-06/0.006712, allocations: 11.94 kB / 0.8837 GB, free: 0.7695 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.006733, allocations: 41.33 kB / 0.8838 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.006734, allocations: 0 / 0.8838 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0004435/0.007178, allocations: 245.8 kB / 0.884 GB, free: 452 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.007217, allocations: 106.8 kB / 0.8841 GB, free: 320 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.893e-05/0.007286, allocations: 157.9 kB / 0.8843 GB, free: 144 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.007295, allocations: 25.7 kB / 0.8843 GB, free: 112 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.367e-05/0.007349, allocations: 134.8 kB / 0.8844 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.62e-05/0.007365, allocations: 31.98 kB / 0.8844 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.188e-05/0.007397, allocations: 35.38 kB / 0.8845 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.007502, allocations: 496.1 kB / 0.885 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.852e-05/0.00752, allocations: 12 kB / 0.885 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.368e-05/0.007564, allocations: 66.11 kB / 0.885 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.448e-05/0.007628, allocations: 85.98 kB / 0.8851 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.007629, allocations: 0 / 0.8851 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.322e-05/0.007722, allocations: 101.4 kB / 0.8852 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.007735, allocations: 4 kB / 0.8852 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.882e-06/0.007741, allocations: 4 kB / 0.8852 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.007751, allocations: 0 / 0.8852 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.608e-05/0.007797, allocations: 20 kB / 0.8852 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.007805, allocations: 7.969 kB / 0.8852 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.915e-05/0.007855, allocations: 4 kB / 0.8852 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.007864, allocations: 11.94 kB / 0.8853 GB, free: 15.04 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 6.594e-05/0.00793, allocations: 156.6 kB / 0.8854 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.649e-05/0.007967, allocations: 16.06 kB / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.379e-05/0.007991, allocations: 7.812 kB / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.007992, allocations: 0 / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.007998, allocations: 4 kB / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.008001, allocations: 0 / 0.8854 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.008196, allocations: 140.5 kB / 0.8856 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008198, allocations: 3.938 kB / 0.8856 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.00825, allocations: 15.94 kB / 0.8856 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.008252, allocations: 4 kB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.00826, allocations: 3.938 kB / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.008262, allocations: 0 / 0.8856 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/0.008263, allocations: 8 kB / 0.8856 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.008471, allocations: 454.3 kB / 0.886 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.008501, allocations: 19.88 kB / 0.8861 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.008513, allocations: 4 kB / 0.8861 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.99e-05/0.008593, allocations: 0 / 0.8861 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.008612, allocations: 15.92 kB / 0.8861 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-06/0.008617, allocations: 4 kB / 0.8861 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.008653, allocations: 123.5 kB / 0.8862 GB, free: 14 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008653, allocations: 0 / 0.8862 GB, free: 14 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000194/0.008847, allocations: 16 kB / 0.8862 GB, free: 13.99 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.248e-05/0.00894, allocations: 111.2 kB / 0.8863 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.754e-05/0.009027, allocations: 51.59 kB / 0.8864 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.00903, allocations: 4 kB / 0.8864 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.668e-05/0.009047, allocations: 19.62 kB / 0.8864 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/0.009307, allocations: 22.17 kB / 0.8864 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005901/0.009897, allocations: 278 kB / 0.8867 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.336e-05/0.00994, allocations: 67.34 kB / 0.8867 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.009971, allocations: 3.984 kB / 0.8867 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.997e-05/0.009991, allocations: 12.5 kB / 0.8868 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/0.009992, allocations: 4 kB / 0.8868 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of Templates: time 0.002392/0.01238, allocations: 0.6829 MB / 0.8874 GB, free: 12.73 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.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.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.458595200208947]