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.001748/0.001748, allocations: 88.72 kB / 19.44 MB, free: 356 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.001706/0.001706, allocations: 161.7 kB / 22.76 MB, free: 1.68 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.493/1.493, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.292/3.292, allocations: 429.6 MB / 0.673 GB, free: 3.895 MB / 0.6355 GB " [Timeout remaining time 176] 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.723e-06/1.723e-06, allocations: 0 / 0.8776 GB, free: 6.547 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.21e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002856/0.002888, allocations: 1.289 MB / 0.8788 GB, free: 5.266 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003905/0.006793, allocations: 2.386 MB / 0.8811 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.66e-05/0.00682, allocations: 0 / 0.8811 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.975e-05/0.00684, allocations: 0 / 0.8811 GB, free: 2.879 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.92e-05/0.006889, allocations: 3.938 kB / 0.8811 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006851/0.007574, allocations: 135.2 kB / 0.8813 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.2e-05/0.007666, allocations: 35.84 kB / 0.8813 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.723e-05/0.007703, allocations: 4.625 kB / 0.8813 GB, free: 2.703 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.007782, allocations: 23.97 kB / 0.8813 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.007849, allocations: 12.52 kB / 0.8813 GB, free: 2.668 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.007867, allocations: 5.531 kB / 0.8814 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003316/0.008198, allocations: 103.7 kB / 0.8815 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.008221, allocations: 15.97 kB / 0.8815 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.545e-05/0.008256, allocations: 8 kB / 0.8815 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002582/0.008515, allocations: 91.7 kB / 0.8816 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.008518, allocations: 0 / 0.8816 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.31e-07/0.008518, allocations: 0 / 0.8816 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.008523, allocations: 0 / 0.8816 GB, free: 2.449 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.0005149/0.009038, allocations: 278.2 kB / 0.8818 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.00908, allocations: 12.03 kB / 0.8818 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002781/0.009358, allocations: 24.86 kB / 0.8819 GB, free: 2.113 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001223/0.00948, allocations: 109.7 kB / 0.882 GB, free: 1.98 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.009502, allocations: 4.375 kB / 0.882 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.009541, allocations: 16.33 kB / 0.882 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.009767, allocations: 145.9 kB / 0.8821 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.009776, allocations: 192 / 0.8821 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.72e-05/0.009794, allocations: 8.125 kB / 0.8821 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.009799, allocations: 0 / 0.8821 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.807e-05/0.009847, allocations: 11.94 kB / 0.8821 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007143/0.01056, allocations: 381 kB / 0.8825 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.01074, allocations: 75.72 kB / 0.8826 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.174e-05/0.01078, allocations: 22.66 kB / 0.8826 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.0108, allocations: 7.938 kB / 0.8826 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.01083, allocations: 38.56 kB / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.01083, allocations: 0 / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0007189/0.01155, allocations: 229 kB / 0.8829 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/0.01163, allocations: 106.8 kB / 0.883 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/0.01173, allocations: 98.12 kB / 0.8831 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.01176, allocations: 29.7 kB / 0.8831 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.01183, allocations: 88.09 kB / 0.8832 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.01187, allocations: 35.97 kB / 0.8832 GB, free: 0.5156 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.01192, allocations: 29.66 kB / 0.8832 GB, free: 492 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.01209, allocations: 318.8 kB / 0.8835 GB, free: 164 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.241e-05/0.01212, allocations: 12 kB / 0.8836 GB, free: 152 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/0.01219, allocations: 57.08 kB / 0.8836 GB, free: 76 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.01233, allocations: 77.25 kB / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01233, allocations: 0 / 0.8837 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001765/0.01251, allocations: 109.4 kB / 0.8838 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.01252, allocations: 4 kB / 0.8838 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/0.01253, allocations: 8 kB / 0.8838 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.383e-05/0.01255, allocations: 4 kB / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.29e-05/0.01264, allocations: 19.98 kB / 0.8838 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.01265, allocations: 4 kB / 0.8838 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.016e-05/0.01269, allocations: 0 / 0.8838 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.01269, allocations: 4 kB / 0.8838 GB, free: 15.82 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 0.0001196/0.01281, allocations: 117.8 kB / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.01289, allocations: 16.06 kB / 0.884 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/0.01292, allocations: 11.81 kB / 0.884 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01293, allocations: 0 / 0.884 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.01293, allocations: 4 kB / 0.884 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.01294, allocations: 3.984 kB / 0.884 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003439/0.01328, allocations: 117.3 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01328, allocations: 0 / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.848e-05/0.01337, allocations: 15.94 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01338, allocations: 4 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.01338, allocations: 0 / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.01339, allocations: 0 / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/0.0134, allocations: 11.98 kB / 0.8841 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.01374, allocations: 326 kB / 0.8844 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.01378, allocations: 15.92 kB / 0.8844 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.474e-05/0.0138, allocations: 3.938 kB / 0.8844 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001759/0.01397, allocations: 4 kB / 0.8844 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.014, allocations: 7.984 kB / 0.8845 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.01401, allocations: 8 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.371e-05/0.01406, allocations: 75.28 kB / 0.8845 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01406, allocations: 0 / 0.8845 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003254/0.01439, allocations: 16 kB / 0.8846 GB, free: 15.02 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 0.0001668/0.01455, allocations: 115.2 kB / 0.8847 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.0147, allocations: 48.25 kB / 0.8847 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.0147, allocations: 0 / 0.8847 GB, free: 14.85 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.01473, allocations: 15.94 kB / 0.8847 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004832/0.01522, allocations: 15.92 kB / 0.8847 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006322/0.01585, allocations: 270.6 kB / 0.885 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.632e-05/0.01594, allocations: 67.34 kB / 0.8851 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.456e-05/0.01598, allocations: 4 kB / 0.8851 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.01601, allocations: 12.5 kB / 0.8851 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of SimCode: time 7.52e-07/0.01602, allocations: 4 kB / 0.8851 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of Templates: time 0.003647/0.01966, allocations: 0.6922 MB / 0.8858 GB, free: 13.78 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",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: 8.227684395969845]