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.001016/0.001016, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 178.7 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 223.3 MB / 241 MB, free: 5.293 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.587/2.587, allocations: 437.8 MB / 0.7128 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003781, allocations: 12 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7086, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001207/0.7099, allocations: 0.9878 MB / 1.025 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002851/0.7127, allocations: 2.468 MB / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.7128, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.7128, allocations: 0 / 1.027 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.491e-05/0.7129, allocations: 7.938 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000448/0.7133, allocations: 111.5 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.059e-05/0.7134, allocations: 39.84 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.442e-05/0.7134, allocations: 4 kB / 1.027 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.7135, allocations: 15.92 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.7135, allocations: 23.91 kB / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.7135, allocations: 0 / 1.027 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002655/0.7138, allocations: 107.8 kB / 1.027 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.7138, allocations: 11.98 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.7139, allocations: 45.62 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.714, allocations: 53.84 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.714, allocations: 4 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.683e-06/0.714, allocations: 0 / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.7141, allocations: 0 / 1.027 GB, free: 11.96 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.0003646/0.7144, allocations: 343.4 kB / 1.028 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.7145, allocations: 11.97 kB / 1.028 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.7147, allocations: 20.86 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.792e-05/0.7148, allocations: 164.4 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.7148, allocations: 4.375 kB / 1.028 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.359e-05/0.7148, allocations: 8.375 kB / 1.028 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.7149, allocations: 72.36 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.715, allocations: 0 / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.715, allocations: 8 kB / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.715, allocations: 0 / 1.028 GB, free: 11.24 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.841e-05/0.715, allocations: 15.92 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005751/0.7156, allocations: 478.7 kB / 1.029 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.7158, allocations: 67.66 kB / 1.029 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.435e-05/0.7158, allocations: 30.78 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.228e-06/0.7158, allocations: 4 kB / 1.029 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.7158, allocations: 30.56 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.7158, allocations: 0 / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000589/0.7164, allocations: 306.6 kB / 1.029 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.7165, allocations: 106.8 kB / 1.029 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.506e-05/0.7166, allocations: 97.84 kB / 1.029 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.7166, allocations: 29.7 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.7167, allocations: 91.97 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.7167, allocations: 23.66 kB / 1.029 GB, free: 9.777 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.761e-05/0.7167, allocations: 21.7 kB / 1.029 GB, free: 9.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.7168, allocations: 322.8 kB / 1.03 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.7169, allocations: 11.98 kB / 1.03 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.883e-05/0.7169, allocations: 49.16 kB / 1.03 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.643e-05/0.717, allocations: 81.08 kB / 1.03 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.717, allocations: 0 / 1.03 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001349/0.7172, allocations: 93.45 kB / 1.03 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.7172, allocations: 10.19 kB / 1.03 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.187e-06/0.7172, allocations: 3.938 kB / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.7172, allocations: 0 / 1.03 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.7173, allocations: 31.92 kB / 1.03 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.7173, allocations: 4.125 kB / 1.03 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.59e-05/0.7173, allocations: 4 kB / 1.03 GB, free: 9.102 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.7174, allocations: 4 kB / 1.03 GB, free: 9.098 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.536e-05/0.7174, allocations: 119.8 kB / 1.03 GB, free: 8.973 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.7175, allocations: 3.938 kB / 1.03 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.7175, allocations: 11.56 kB / 1.03 GB, free: 8.957 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7176, allocations: 3.938 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.7176, allocations: 3.984 kB / 1.03 GB, free: 8.949 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.7176, allocations: 4 kB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.7179, allocations: 189.5 kB / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.7179, allocations: 0 / 1.03 GB, free: 8.711 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.843e-05/0.718, allocations: 12 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.718, allocations: 4 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.718, allocations: 0 / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.718, allocations: 0 / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.718, allocations: 4 kB / 1.03 GB, free: 8.691 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002377/0.7183, allocations: 333.9 kB / 1.031 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.477e-05/0.7184, allocations: 85.14 kB / 1.031 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.7184, allocations: 0 / 1.031 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.7186, allocations: 4.062 kB / 1.031 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.7186, allocations: 15.98 kB / 1.031 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.7186, allocations: 7.938 kB / 1.031 GB, free: 8.219 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.04e-05/0.7186, allocations: 75.66 kB / 1.031 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7186, allocations: 0 / 1.031 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003068/0.7189, allocations: 20 kB / 1.031 GB, free: 8.125 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 (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.0001279/0.7191, allocations: 103.4 kB / 1.031 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.738e-05/0.7192, allocations: 51.84 kB / 1.031 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.7192, allocations: 0 / 1.031 GB, free: 7.965 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.772e-05/0.7192, allocations: 19.98 kB / 1.031 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004183/0.7197, allocations: 10.77 kB / 1.031 GB, free: 7.938 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006192/0.7203, allocations: 445.8 kB / 1.031 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.7206, allocations: 0.6848 MB / 1.032 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.595e-05/0.7206, allocations: 11.44 kB / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of SimCode: time 4.31e-07/0.7206, allocations: 0 / 1.032 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of Templates: time 0.002147/0.7228, allocations: 0.7716 MB / 1.033 GB, free: 5.973 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/jenkins1/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