Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001626/0.001626, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002155/0.002155, allocations: 193.4 kB / 16.14 MB, free: 6.645 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.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 472.6 MB / 0.7447 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 73.56 kB / 0.9114 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3677, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002477/0.3702, allocations: 1.329 MB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003165/0.3734, allocations: 2.499 MB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.033e-05/0.3735, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.013e-05/0.3735, allocations: 0 / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.645e-05/0.3736, allocations: 7.984 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.3741, allocations: 115.5 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.595e-05/0.3742, allocations: 35.86 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.985e-05/0.3742, allocations: 3.984 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.069e-05/0.3743, allocations: 12 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.3743, allocations: 23.91 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.3744, allocations: 7.938 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002811/0.3746, allocations: 115.8 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.3747, allocations: 4 kB / 1.072 GB, free: 6.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.3747, allocations: 15.92 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3749, allocations: 84.06 kB / 1.072 GB, free: 6.582 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3749, allocations: 4 kB / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.71e-07/0.3749, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.3749, allocations: 0 / 1.072 GB, free: 6.578 MB / 0.8262 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.0004205/0.3754, allocations: 347.6 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3754, allocations: 16.03 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.3757, allocations: 16.83 kB / 1.072 GB, free: 6.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.3758, allocations: 172.2 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.3758, allocations: 8.375 kB / 1.072 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.566e-05/0.3758, allocations: 4.375 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.376, allocations: 72.39 kB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.376, allocations: 3.984 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.376, allocations: 0 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.376, allocations: 7.938 kB / 1.072 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.3761, allocations: 15.92 kB / 1.072 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.3766, allocations: 470.8 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.3768, allocations: 75.59 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.698e-05/0.3768, allocations: 22.7 kB / 1.073 GB, free: 5.172 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.466e-06/0.3768, allocations: 4 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3769, allocations: 30.56 kB / 1.073 GB, free: 5.129 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.3769, allocations: 4 kB / 1.073 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006505/0.3775, allocations: 298.3 kB / 1.073 GB, free: 4.781 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.3776, allocations: 106.8 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.795e-05/0.3777, allocations: 105.8 kB / 1.073 GB, free: 4.539 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.3777, allocations: 25.7 kB / 1.073 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.064e-05/0.3778, allocations: 84.3 kB / 1.073 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.306e-05/0.3778, allocations: 39.48 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.3779, allocations: 25.72 kB / 1.074 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.378, allocations: 326.8 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.759e-05/0.378, allocations: 8 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/0.3781, allocations: 53.14 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.708e-05/0.3782, allocations: 73.08 kB / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3782, allocations: 0 / 1.074 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001308/0.3783, allocations: 90.08 kB / 1.074 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3783, allocations: 13.52 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3784, allocations: 4 kB / 1.074 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3784, allocations: 4.094 kB / 1.074 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.787e-05/0.3785, allocations: 19.94 kB / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3785, allocations: 0 / 1.074 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.239e-05/0.3785, allocations: 7.984 kB / 1.074 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.505e-06/0.3785, allocations: 4 kB / 1.074 GB, free: 3.711 MB / 0.8262 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.42e-05/0.3786, allocations: 121.8 kB / 1.074 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.217e-05/0.3787, allocations: 7.844 kB / 1.074 GB, free: 3.574 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.174e-05/0.3787, allocations: 15.56 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.3787, allocations: 0 / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3788, allocations: 3.938 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3788, allocations: 4 kB / 1.074 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003312/0.3791, allocations: 181.6 kB / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3791, allocations: 0 / 1.074 GB, free: 3.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.496e-05/0.3792, allocations: 15.98 kB / 1.074 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.3792, allocations: 4 kB / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.3792, allocations: 64 / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3792, allocations: 4 kB / 1.074 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3792, allocations: 4 kB / 1.074 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002409/0.3795, allocations: 333.9 kB / 1.075 GB, free: 2.953 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.353e-05/0.3796, allocations: 85.05 kB / 1.075 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3796, allocations: 4 kB / 1.075 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.3798, allocations: 4.031 kB / 1.075 GB, free: 2.844 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.621e-05/0.3798, allocations: 8 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.698e-06/0.3798, allocations: 11.94 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.776e-05/0.3799, allocations: 75.28 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3799, allocations: 0 / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003077/0.3802, allocations: 16 kB / 1.075 GB, free: 2.734 MB / 0.8262 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.0001645/0.3804, allocations: 103.2 kB / 1.075 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.3805, allocations: 56.03 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3805, allocations: 0 / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.3806, allocations: 16 kB / 1.075 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004843/0.381, allocations: 14.62 kB / 1.075 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006707/0.3817, allocations: 358 kB / 1.076 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003091/0.382, allocations: 0.6848 MB / 1.076 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.226e-05/0.3821, allocations: 7.781 kB / 1.076 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.976e-05/0.3821, allocations: 11.44 kB / 1.076 GB, free: 1.426 MB / 0.8262 GB Notification: Performance of SimCode: time 7.81e-07/0.3822, allocations: 4 kB / 1.076 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of Templates: time 0.002955/0.3851, allocations: 0.6169 MB / 1.077 GB, free: 0.8398 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches