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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 225.6 MB / 249.9 MB, free: 3.25 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.733/2.733, allocations: 489.7 MB / 0.7761 GB, free: 2.648 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=501,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=501,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 0.003156/0.003156, allocations: 67.89 kB / 1.127 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.919/0.9222, allocations: 172 MB / 1.295 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002538/0.9247, allocations: 1.274 MB / 1.296 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003545/0.9282, allocations: 2.499 MB / 1.299 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.9283, allocations: 0 / 1.299 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.034e-05/0.9283, allocations: 0.6562 kB / 1.299 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.986e-05/0.9283, allocations: 5.688 kB / 1.299 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006159/0.929, allocations: 141.5 kB / 1.299 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.444e-05/0.9291, allocations: 43.06 kB / 1.299 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.722e-05/0.9291, allocations: 2.078 kB / 1.299 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.9291, allocations: 17.94 kB / 1.299 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.904e-05/0.9292, allocations: 20.64 kB / 1.299 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.9292, allocations: 2.438 kB / 1.299 GB, free: 2.895 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00032/0.9295, allocations: 113.9 kB / 1.299 GB, free: 2.855 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.85e-05/0.9296, allocations: 7.906 kB / 1.299 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.9296, allocations: 17.7 kB / 1.299 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.9298, allocations: 86.55 kB / 1.299 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.9298, allocations: 4.516 kB / 1.299 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9298, allocations: 1.25 kB / 1.299 GB, free: 2.812 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.9298, allocations: 0 / 1.299 GB, free: 2.812 MB / 0.9981 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.0004907/0.9303, allocations: 357.7 kB / 1.299 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.9304, allocations: 9.359 kB / 1.299 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.9306, allocations: 12.31 kB / 1.299 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.9307, allocations: 163 kB / 1.299 GB, free: 2.246 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.9307, allocations: 5.781 kB / 1.299 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.9308, allocations: 8.906 kB / 1.299 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.9309, allocations: 79.47 kB / 1.3 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.497e-06/0.9309, allocations: 1.562 kB / 1.3 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.931, allocations: 3.938 kB / 1.3 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.931, allocations: 5.547 kB / 1.3 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.46e-05/0.931, allocations: 12.02 kB / 1.3 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.9317, allocations: 474.1 kB / 1.3 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.9318, allocations: 69.52 kB / 1.3 GB, free: 1.59 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.9319, allocations: 28.81 kB / 1.3 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.9319, allocations: 0 / 1.3 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.9319, allocations: 37.7 kB / 1.3 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 8.91e-07/0.9319, allocations: 0 / 1.3 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0006744/0.9326, allocations: 301.6 kB / 1.3 GB, free: 1.234 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.9327, allocations: 117.9 kB / 1.301 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.158e-05/0.9328, allocations: 95.58 kB / 1.301 GB, free: 1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.9328, allocations: 30.95 kB / 1.301 GB, free: 0.9648 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.9329, allocations: 86.2 kB / 1.301 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.9329, allocations: 29.44 kB / 1.301 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.9329, allocations: 27.56 kB / 1.301 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.9331, allocations: 318 kB / 1.301 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/0.9331, allocations: 18.3 kB / 1.301 GB, free: 0.5078 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.826e-05/0.9332, allocations: 48.36 kB / 1.301 GB, free: 468 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.851e-05/0.9333, allocations: 76.86 kB / 1.301 GB, free: 396 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.9333, allocations: 0 / 1.301 GB, free: 396 kB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001444/0.9334, allocations: 94.66 kB / 1.301 GB, free: 340 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9334, allocations: 6.375 kB / 1.301 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.9334, allocations: 2.188 kB / 1.301 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.9335, allocations: 1.156 kB / 1.301 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.042e-05/0.9335, allocations: 19.67 kB / 1.301 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.9335, allocations: 2.438 kB / 1.301 GB, free: 340 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.623e-05/0.9336, allocations: 14.92 kB / 1.301 GB, free: 328 kB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.9336, allocations: 3.125 kB / 1.301 GB, free: 328 kB / 0.9981 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 9.901e-05/0.9337, allocations: 125.9 kB / 1.302 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.834e-05/0.9338, allocations: 4.828 kB / 1.302 GB, free: 196 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.627e-05/0.9338, allocations: 12.44 kB / 1.302 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.9338, allocations: 2.906 kB / 1.302 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.9338, allocations: 0 / 1.302 GB, free: 184 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9338, allocations: 6.25 kB / 1.302 GB, free: 180 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.9342, allocations: 177.3 kB / 1.302 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.9342, allocations: 9.734 kB / 1.302 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.47e-05/0.9343, allocations: 15.27 kB / 1.302 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.9343, allocations: 1.469 kB / 1.302 GB, free: 15.97 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.9343, allocations: 6.172 kB / 1.302 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.9343, allocations: 1.531 kB / 1.302 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.9343, allocations: 2.219 kB / 1.302 GB, free: 15.96 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002899/0.9346, allocations: 335 kB / 1.302 GB, free: 15.65 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.9347, allocations: 81.48 kB / 1.302 GB, free: 15.56 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.9347, allocations: 6.75 kB / 1.302 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.9348, allocations: 3.609 kB / 1.302 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.9349, allocations: 4.672 kB / 1.302 GB, free: 15.55 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.155e-05/0.9349, allocations: 7.375 kB / 1.302 GB, free: 15.55 MB / 1.014 GB Notification: Performance of sorting global known variables: time 4.534e-05/0.9349, allocations: 83.11 kB / 1.302 GB, free: 15.47 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.9349, allocations: 0 / 1.302 GB, free: 15.47 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003077/0.9352, allocations: 10.22 kB / 1.302 GB, free: 15.47 MB / 1.014 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.0001589/0.9354, allocations: 114.5 kB / 1.302 GB, free: 15.37 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.9355, allocations: 43.03 kB / 1.302 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9355, allocations: 0 / 1.302 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.794e-05/0.9356, allocations: 16.14 kB / 1.302 GB, free: 15.36 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.936, allocations: 10.86 kB / 1.302 GB, free: 15.35 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.9367, allocations: 365 kB / 1.303 GB, free: 15.03 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003325/0.937, allocations: 0.6868 MB / 1.303 GB, free: 14.33 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.937, allocations: 16.77 kB / 1.303 GB, free: 14.32 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.937, allocations: 0 / 1.303 GB, free: 14.32 MB / 1.014 GB Notification: Performance of Templates: time 0.002733/0.9398, allocations: 0.8042 MB / 1.304 GB, free: 14.26 MB / 1.014 GB [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] 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/jenkins1/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