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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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=5000,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=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 86.64 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001658/0.001658, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.91/2.91, allocations: 437.7 MB / 0.7117 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004715/0.0004716, allocations: 8 kB / 0.8722 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9006/0.9011, allocations: 153.8 MB / 1.022 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001291/0.9025, allocations: 0.976 MB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003033/0.9055, allocations: 2.349 MB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.486e-05/0.9056, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.554e-05/0.9056, allocations: 0 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.9057, allocations: 7.922 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005057/0.9062, allocations: 103.5 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.301e-05/0.9063, allocations: 35.84 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.053e-05/0.9063, allocations: 4 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.433e-05/0.9064, allocations: 15.98 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.928e-05/0.9064, allocations: 23.91 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.9065, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.9068, allocations: 83.84 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.464e-05/0.9068, allocations: 7.969 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.9069, allocations: 37.64 kB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.907, allocations: 45.92 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.907, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.192e-06/0.907, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.907, allocations: 0 / 1.026 GB, free: 12.25 MB / 0.7794 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.0003428/0.9074, allocations: 347.2 kB / 1.026 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.9074, allocations: 12.56 kB / 1.026 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002146/0.9076, allocations: 15.98 kB / 1.026 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.9077, allocations: 159.1 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.9078, allocations: 11.94 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.158e-05/0.9078, allocations: 4 kB / 1.027 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.9079, allocations: 76.19 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.908, allocations: 0 / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.908, allocations: 4 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.908, allocations: 0 / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.918e-05/0.908, allocations: 8 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.9086, allocations: 478.7 kB / 1.027 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.9088, allocations: 71.78 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.9088, allocations: 26.52 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.9088, allocations: 8.078 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.9089, allocations: 30.56 kB / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.533e-06/0.9089, allocations: 0 / 1.027 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0005968/0.9095, allocations: 302.7 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.9095, allocations: 114.7 kB / 1.028 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.9096, allocations: 97.84 kB / 1.028 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.9096, allocations: 29.7 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.9097, allocations: 84.05 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.249e-05/0.9097, allocations: 27.64 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.471e-06/0.9097, allocations: 4 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9098, allocations: 318.9 kB / 1.028 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.844e-05/0.9099, allocations: 19.98 kB / 1.028 GB, free: 9.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.753e-05/0.9099, allocations: 49.08 kB / 1.028 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.91, allocations: 20 kB / 1.028 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.91, allocations: 4 kB / 1.028 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001331/0.9101, allocations: 97.39 kB / 1.028 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.9101, allocations: 9.875 kB / 1.028 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.9102, allocations: 0 / 1.028 GB, free: 9.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.9102, allocations: 7.938 kB / 1.028 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.619e-05/0.9102, allocations: 23.98 kB / 1.028 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.9103, allocations: 0 / 1.028 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.545e-05/0.9103, allocations: 4 kB / 1.028 GB, free: 9.496 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.9103, allocations: 4 kB / 1.028 GB, free: 9.492 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.264e-05/0.9104, allocations: 125.9 kB / 1.028 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.9105, allocations: 4 kB / 1.028 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.694e-05/0.9105, allocations: 7.562 kB / 1.028 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.9105, allocations: 0 / 1.028 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.9105, allocations: 4 kB / 1.028 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.9105, allocations: 3.984 kB / 1.028 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000362/0.9109, allocations: 185.5 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.9109, allocations: 0 / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.26e-05/0.911, allocations: 16 kB / 1.029 GB, free: 9.094 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.911, allocations: 4 kB / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.911, allocations: 64 / 1.029 GB, free: 9.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.911, allocations: 8 kB / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.911, allocations: 0 / 1.029 GB, free: 9.082 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002352/0.9113, allocations: 329.9 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.689e-05/0.9114, allocations: 85.14 kB / 1.029 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.9114, allocations: 8 kB / 1.029 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001584/0.9115, allocations: 3.938 kB / 1.029 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.807e-05/0.9116, allocations: 7.984 kB / 1.029 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.9116, allocations: 8 kB / 1.029 GB, free: 8.613 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.9116, allocations: 75.28 kB / 1.029 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.9116, allocations: 0 / 1.029 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003105/0.9119, allocations: 16 kB / 1.029 GB, free: 8.523 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001308/0.9121, allocations: 111.7 kB / 1.029 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.9122, allocations: 43.92 kB / 1.029 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.9122, allocations: 0 / 1.029 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.068e-05/0.9122, allocations: 23.92 kB / 1.029 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.9127, allocations: 7.953 kB / 1.029 GB, free: 8.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007336/0.9134, allocations: 420.6 kB / 1.03 GB, free: 7.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.9137, allocations: 0.6809 MB / 1.03 GB, free: 7.18 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.673e-05/0.9137, allocations: 8 kB / 1.03 GB, free: 7.172 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.9138, allocations: 11.44 kB / 1.03 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.9138, allocations: 0 / 1.03 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of Templates: time 0.002782/0.9166, allocations: 0.5948 MB / 1.031 GB, free: 6.602 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches