Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001534/0.001534, allocations: 106.6 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.00161/0.00161, allocations: 192.4 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.474/1.474, allocations: 225.6 MB / 249.9 MB, free: 3.23 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 443.5 MB / 0.731 GB, free: 13.96 MB / 0.5762 GB [Timeout remaining time 87] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 67.89 kB / 1.06 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3405, allocations: 160.7 MB / 1.217 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00263/0.3431, allocations: 1.266 MB / 1.218 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003371/0.3465, allocations: 2.519 MB / 1.22 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.922e-05/0.3465, allocations: 0 / 1.22 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.999e-05/0.3466, allocations: 0 / 1.22 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.3466, allocations: 7.922 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005837/0.3472, allocations: 131.4 kB / 1.22 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.45e-05/0.3473, allocations: 39.83 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.3473, allocations: 4 kB / 1.22 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.958e-05/0.3474, allocations: 19.88 kB / 1.22 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.3474, allocations: 19.97 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.3475, allocations: 0 / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003315/0.3478, allocations: 119.8 kB / 1.221 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.3478, allocations: 7.922 kB / 1.221 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.3478, allocations: 15.94 kB / 1.221 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.3481, allocations: 87.77 kB / 1.221 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3481, allocations: 7.938 kB / 1.221 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3481, allocations: 3.938 kB / 1.221 GB, free: 11.31 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.3481, allocations: 0 / 1.221 GB, free: 11.31 MB / 0.9669 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.3485, allocations: 347.4 kB / 1.221 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3486, allocations: 15.98 kB / 1.221 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.3488, allocations: 16.92 kB / 1.221 GB, free: 10.89 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.3489, allocations: 164.3 kB / 1.221 GB, free: 10.7 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.3489, allocations: 4.375 kB / 1.221 GB, free: 10.69 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.349, allocations: 8.328 kB / 1.221 GB, free: 10.68 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3491, allocations: 80.36 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.3491, allocations: 3.938 kB / 1.221 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.3491, allocations: 4 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3491, allocations: 0 / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.3492, allocations: 8 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006352/0.3498, allocations: 470.9 kB / 1.222 GB, free: 10.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.35, allocations: 71.66 kB / 1.222 GB, free: 9.953 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.35, allocations: 26.78 kB / 1.222 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.35, allocations: 0 / 1.222 GB, free: 9.918 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3501, allocations: 38.56 kB / 1.222 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 8.22e-07/0.3501, allocations: 0 / 1.222 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006568/0.3507, allocations: 302.8 kB / 1.222 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.843e-05/0.3508, allocations: 114.8 kB / 1.222 GB, free: 9.387 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/0.3509, allocations: 97.84 kB / 1.222 GB, free: 9.281 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.3509, allocations: 29.7 kB / 1.222 GB, free: 9.246 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.204e-05/0.351, allocations: 88.03 kB / 1.222 GB, free: 9.156 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.351, allocations: 27.8 kB / 1.222 GB, free: 9.129 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.673e-05/0.351, allocations: 29.7 kB / 1.223 GB, free: 9.094 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3512, allocations: 314.8 kB / 1.223 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.11e-05/0.3512, allocations: 19.94 kB / 1.223 GB, free: 8.758 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.446e-05/0.3513, allocations: 57.08 kB / 1.223 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.3514, allocations: 77.08 kB / 1.223 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3514, allocations: 0 / 1.223 GB, free: 8.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001499/0.3515, allocations: 93.56 kB / 1.223 GB, free: 8.492 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3515, allocations: 11.94 kB / 1.223 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3515, allocations: 4 kB / 1.223 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3516, allocations: 0 / 1.223 GB, free: 8.477 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.3516, allocations: 27.92 kB / 1.223 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3516, allocations: 0 / 1.223 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.307e-05/0.3517, allocations: 16.06 kB / 1.223 GB, free: 8.434 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.3517, allocations: 4 kB / 1.223 GB, free: 8.43 MB / 0.9669 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 8.747e-05/0.3518, allocations: 117.7 kB / 1.223 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.3518, allocations: 4 kB / 1.223 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.3519, allocations: 11.56 kB / 1.223 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3519, allocations: 0 / 1.223 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3519, allocations: 0 / 1.223 GB, free: 8.285 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.3519, allocations: 3.984 kB / 1.223 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003514/0.3522, allocations: 181.6 kB / 1.223 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3522, allocations: 4 kB / 1.223 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.608e-05/0.3523, allocations: 16 kB / 1.223 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.3523, allocations: 4 kB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3523, allocations: 0 / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3523, allocations: 0 / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3523, allocations: 0 / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.3526, allocations: 333.9 kB / 1.224 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.001e-05/0.3527, allocations: 93.09 kB / 1.224 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.3527, allocations: 0 / 1.224 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.3529, allocations: 4 kB / 1.224 GB, free: 7.574 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.076e-05/0.3529, allocations: 7.984 kB / 1.224 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.3529, allocations: 7.938 kB / 1.224 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.287e-05/0.3529, allocations: 79.66 kB / 1.224 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3529, allocations: 3.938 kB / 1.224 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003111/0.3533, allocations: 12 kB / 1.224 GB, free: 7.465 MB / 0.9669 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.000159/0.3534, allocations: 112.8 kB / 1.224 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.3536, allocations: 51.84 kB / 1.224 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3536, allocations: 0 / 1.224 GB, free: 7.293 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.809e-05/0.3536, allocations: 19.92 kB / 1.224 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.354, allocations: 10.09 kB / 1.224 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.3547, allocations: 365.5 kB / 1.224 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.355, allocations: 0.6807 MB / 1.225 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.355, allocations: 11.44 kB / 1.225 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of SimCode: time 4.3e-07/0.355, allocations: 0 / 1.225 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of Templates: time 0.002493/0.3575, allocations: 0.7906 MB / 1.226 GB, free: 5.371 MB / 0.9669 GB [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! [Timeout remaining time 300] Reference file matches