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.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.001681/0.001681, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.00226/0.00226, allocations: 213.7 kB / 22.25 MB, free: 4.859 MB / 14.72 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.845/2.845, allocations: 475.9 MB / 0.7699 GB, free: 4.809 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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_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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 70.52 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4171, allocations: 170 MB / 1.283 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002765/0.4198, allocations: 1.279 MB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003844/0.4237, allocations: 2.373 MB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.549e-05/0.4237, allocations: 0 / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.4237, allocations: 3.938 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.4238, allocations: 0 / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007012/0.4245, allocations: 139.4 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.393e-05/0.4246, allocations: 39.84 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.258e-05/0.4246, allocations: 4 kB / 1.287 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.279e-05/0.4247, allocations: 19.92 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/0.4248, allocations: 19.91 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.4248, allocations: 0 / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.4251, allocations: 103.8 kB / 1.287 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.4251, allocations: 7.984 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.4251, allocations: 15.94 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002195/0.4254, allocations: 79.78 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.4254, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.306e-06/0.4254, allocations: 4 kB / 1.287 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.183e-06/0.4254, allocations: 3.938 kB / 1.287 GB, free: 7.941 MB / 0.9825 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.0005074/0.4259, allocations: 274.2 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 6.39e-05/0.4259, allocations: 12.03 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/0.4262, allocations: 8.938 kB / 1.287 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.4263, allocations: 114.5 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.4263, allocations: 4.375 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.434e-05/0.4264, allocations: 8.375 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.4266, allocations: 153.4 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.4266, allocations: 4 kB / 1.288 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.429e-05/0.4266, allocations: 4 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.4266, allocations: 0 / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.4267, allocations: 11.94 kB / 1.288 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007338/0.4274, allocations: 392.8 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.4276, allocations: 71.64 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.4276, allocations: 30.78 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.4276, allocations: 4 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.598e-05/0.4277, allocations: 38.5 kB / 1.288 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.4277, allocations: 4 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006998/0.4284, allocations: 221.1 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.4285, allocations: 106.8 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.4286, allocations: 105.8 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.073e-05/0.4286, allocations: 25.7 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.116e-05/0.4287, allocations: 84.09 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.4287, allocations: 31.73 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.784e-05/0.4288, allocations: 29.66 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.4289, allocations: 323 kB / 1.289 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.735e-05/0.429, allocations: 12 kB / 1.289 GB, free: 5.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.572e-05/0.429, allocations: 65.02 kB / 1.289 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.4292, allocations: 69.08 kB / 1.289 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.4292, allocations: 4 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000142/0.4293, allocations: 89.55 kB / 1.289 GB, free: 5.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.4293, allocations: 8.125 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.4293, allocations: 4 kB / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.4293, allocations: 0 / 1.289 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.291e-05/0.4294, allocations: 23.98 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.4294, allocations: 7.938 kB / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.574e-05/0.4295, allocations: 0 / 1.289 GB, free: 5.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.052e-05/0.4295, allocations: 4 kB / 1.289 GB, free: 5.336 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 0.0001123/0.4296, allocations: 117.8 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.4297, allocations: 7.953 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.203e-05/0.4297, allocations: 8.359 kB / 1.289 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.4297, allocations: 8 kB / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4297, allocations: 0 / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4297, allocations: 0 / 1.289 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.43, allocations: 125.2 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.43, allocations: 4 kB / 1.289 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.379e-05/0.4301, allocations: 16 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.4301, allocations: 7.922 kB / 1.29 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4301, allocations: 4.062 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4301, allocations: 4 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.4301, allocations: 3.984 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.4305, allocations: 326 kB / 1.29 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.514e-05/0.4305, allocations: 16.03 kB / 1.29 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.4305, allocations: 4 kB / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/0.4307, allocations: 0 / 1.29 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.611e-05/0.4307, allocations: 11.92 kB / 1.29 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.4307, allocations: 8 kB / 1.29 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.876e-05/0.4308, allocations: 75.28 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4308, allocations: 0 / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003096/0.4311, allocations: 15.94 kB / 1.29 GB, free: 4.531 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.0001535/0.4312, allocations: 111.2 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.4314, allocations: 47.86 kB / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.4314, allocations: 0 / 1.29 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.4314, allocations: 11.94 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.4319, allocations: 15.94 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007024/0.4326, allocations: 341 kB / 1.29 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.67e-05/0.4327, allocations: 75.28 kB / 1.291 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.4327, allocations: 4 kB / 1.291 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.945e-05/0.4327, allocations: 11.44 kB / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.4327, allocations: 0 / 1.291 GB, free: 3.863 MB / 0.9825 GB Notification: Performance of Templates: time 0.003581/0.4363, allocations: 0.6723 MB / 1.291 GB, free: 3.242 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.404640519991517]