Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 107.7 kB / 18.88 MB, free: 3.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 200.3 kB / 22.17 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.523/1.523, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.897/2.897, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 67.88 kB / 1.109 GB, free: 6.598 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9474/0.9493, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002504/0.9518, allocations: 1.268 MB / 1.275 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003578/0.9554, allocations: 2.536 MB / 1.278 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.515e-05/0.9555, allocations: 4 kB / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.9555, allocations: 0 / 1.278 GB, free: 0.7266 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.185e-05/0.9555, allocations: 3.938 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.9562, allocations: 127.4 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.9563, allocations: 51.78 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.529e-05/0.9563, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.9564, allocations: 23.97 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.837e-05/0.9564, allocations: 11.92 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.9564, allocations: 4 kB / 1.278 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.9568, allocations: 123.7 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.637e-05/0.9568, allocations: 8 kB / 1.278 GB, free: 388 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.9568, allocations: 19.92 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002202/0.957, allocations: 78.45 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.957, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.613e-06/0.957, allocations: 4 kB / 1.278 GB, free: 288 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.9571, allocations: 0 / 1.278 GB, free: 288 kB / 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.0005225/0.9576, allocations: 355.3 kB / 1.279 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.9576, allocations: 8.031 kB / 1.279 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.9579, allocations: 12.92 kB / 1.279 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.958, allocations: 168.3 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.958, allocations: 384 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.958, allocations: 8.375 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.9582, allocations: 80.31 kB / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.9582, allocations: 0 / 1.279 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.9582, allocations: 7.984 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.9582, allocations: 0 / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.5e-05/0.9583, allocations: 11.92 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006976/0.959, allocations: 470.9 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.9591, allocations: 71.67 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.9592, allocations: 26.72 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.9592, allocations: 7.938 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.9592, allocations: 38.5 kB / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.9592, allocations: 0 / 1.279 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006577/0.9599, allocations: 306.2 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.96, allocations: 107.1 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.797e-05/0.9601, allocations: 97.86 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.9601, allocations: 29.69 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.9601, allocations: 92.09 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.9602, allocations: 27.75 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.9602, allocations: 21.7 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.9603, allocations: 322.8 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/0.9604, allocations: 15.98 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.08e-05/0.9604, allocations: 57.08 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.566e-05/0.9605, allocations: 69.03 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.9605, allocations: 4 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00015/0.9607, allocations: 102.1 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.9607, allocations: 4 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9607, allocations: 0 / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.9607, allocations: 4 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.886e-05/0.9608, allocations: 19.98 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.9608, allocations: 4 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.535e-05/0.9608, allocations: 0 / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.9608, allocations: 12.11 kB / 1.281 GB, free: 13.41 MB / 0.9825 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.191e-05/0.9609, allocations: 121.7 kB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.961, allocations: 4.047 kB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.961, allocations: 15.53 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.961, allocations: 0 / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.961, allocations: 4 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.961, allocations: 0 / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003508/0.9614, allocations: 185.5 kB / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.9614, allocations: 64 / 1.281 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.568e-05/0.9615, allocations: 24 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.9615, allocations: 0 / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.9615, allocations: 0 / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/0.9615, allocations: 7.984 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.9615, allocations: 3.938 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002784/0.9618, allocations: 330 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.916e-05/0.9619, allocations: 89.09 kB / 1.281 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.9619, allocations: 7.938 kB / 1.281 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001745/0.962, allocations: 8 kB / 1.281 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.66e-05/0.9621, allocations: 3.984 kB / 1.281 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.9621, allocations: 7.938 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.9621, allocations: 79.28 kB / 1.281 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9621, allocations: 0 / 1.281 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003102/0.9624, allocations: 12 kB / 1.281 GB, free: 12.43 MB / 0.9825 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.00015/0.9626, allocations: 114.4 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000138/0.9627, allocations: 43.91 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.9627, allocations: 0 / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.025e-05/0.9628, allocations: 19.94 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/0.9632, allocations: 8 kB / 1.282 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006265/0.9638, allocations: 344.2 kB / 1.282 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.9642, allocations: 0.6884 MB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.185e-05/0.9642, allocations: 8 kB / 1.283 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.621e-05/0.9642, allocations: 11.44 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.9642, allocations: 0 / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of Templates: time 0.003258/0.9675, allocations: 0.6667 MB / 1.283 GB, free: 10.52 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.091044106055051]