Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001713/0.001713, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002082/0.002082, allocations: 211.5 kB / 22.99 MB, free: 4.984 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.276/3.276, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002073/0.002073, allocations: 67.39 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4099, allocations: 176.1 MB / 1.327 GB, free: 1.098 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.00309/0.413, allocations: 1.277 MB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003629/0.4166, allocations: 2.379 MB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.967e-05/0.4166, allocations: 3.938 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 1.799e-05/0.4167, allocations: 0 / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.35e-05/0.4167, allocations: 3.938 kB / 1.331 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005686/0.4173, allocations: 131.4 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.778e-05/0.4174, allocations: 35.89 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.047e-05/0.4174, allocations: 8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.4174, allocations: 15.92 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.613e-05/0.4175, allocations: 23.91 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.4175, allocations: 0 / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002691/0.4178, allocations: 103.8 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.4178, allocations: 7.984 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.626e-05/0.4178, allocations: 11.94 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.418, allocations: 91.66 kB / 1.331 GB, free: 12.99 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.418, allocations: 4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.392e-06/0.418, allocations: 3.938 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.418, allocations: 0 / 1.331 GB, free: 12.98 MB / 1.029 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.000426/0.4185, allocations: 278.2 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4185, allocations: 8.031 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.4187, allocations: 12.94 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001117/0.4188, allocations: 118.5 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.305e-06/0.4188, allocations: 384 / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.872e-05/0.4189, allocations: 8.375 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.4191, allocations: 157.5 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.4191, allocations: 3.938 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.858e-06/0.4191, allocations: 0 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4191, allocations: 0 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.941e-05/0.4191, allocations: 8 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.4197, allocations: 396.8 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.4199, allocations: 75.66 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.678e-05/0.4199, allocations: 26.72 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.755e-06/0.4199, allocations: 0 / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4199, allocations: 38.56 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 2.515e-06/0.4199, allocations: 3.984 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.0006011/0.4205, allocations: 221.1 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.918e-05/0.4206, allocations: 114.7 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.727e-05/0.4207, allocations: 101.8 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.4207, allocations: 25.7 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.773e-05/0.4208, allocations: 84.09 kB / 1.333 GB, free: 11.09 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.4208, allocations: 31.73 kB / 1.333 GB, free: 11.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.797e-05/0.4209, allocations: 25.97 kB / 1.333 GB, free: 11.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.421, allocations: 330.8 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.421, allocations: 11.94 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.902e-05/0.4211, allocations: 53.14 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.4212, allocations: 73.08 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.4212, allocations: 0 / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001581/0.4213, allocations: 93.64 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.4214, allocations: 8.031 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4214, allocations: 4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4214, allocations: 0 / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.4215, allocations: 23.92 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.4215, allocations: 4 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.029e-05/0.4215, allocations: 3.953 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.4215, allocations: 7.984 kB / 1.333 GB, free: 10.37 MB / 1.029 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.745e-05/0.4216, allocations: 122.2 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.4217, allocations: 4 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.087e-05/0.4217, allocations: 15.75 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4217, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.4217, allocations: 3.938 kB / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4217, allocations: 0 / 1.333 GB, free: 10.22 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.422, allocations: 129.8 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.422, allocations: 4 kB / 1.334 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.806e-05/0.4221, allocations: 12.06 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.379e-06/0.4221, allocations: 4 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.4222, allocations: 4 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4222, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4222, allocations: 0 / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/0.4225, allocations: 341.9 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.374e-05/0.4225, allocations: 8.125 kB / 1.334 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.4225, allocations: 7.984 kB / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.4227, allocations: 0 / 1.334 GB, free: 9.672 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.713e-05/0.4227, allocations: 7.984 kB / 1.334 GB, free: 9.664 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.4227, allocations: 8 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.989e-05/0.4228, allocations: 75.28 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4228, allocations: 0 / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000328/0.4231, allocations: 16 kB / 1.334 GB, free: 9.566 MB / 1.029 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.0001471/0.4233, allocations: 107.3 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.4234, allocations: 55.78 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4234, allocations: 0 / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.647e-05/0.4234, allocations: 19.94 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/0.4239, allocations: 5.828 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006896/0.4246, allocations: 344.8 kB / 1.335 GB, free: 9 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.92e-05/0.4247, allocations: 71.33 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.319e-05/0.4247, allocations: 4 kB / 1.335 GB, free: 8.906 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.856e-05/0.4247, allocations: 11.44 kB / 1.335 GB, free: 8.895 MB / 1.029 GB Notification: Performance of SimCode: time 2.91e-07/0.4247, allocations: 4 kB / 1.335 GB, free: 8.891 MB / 1.029 GB Notification: Performance of Templates: time 0.003432/0.4282, allocations: 0.6904 MB / 1.335 GB, free: 8.25 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.343583702997421]