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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007951/0.007951, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00196/0.00196, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.54/2.54, allocations: 437.1 MB / 0.7105 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 63.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2559/0.2571, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002021/0.2592, allocations: 1.254 MB / 1.167 GB, free: 6.035 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.2619, allocations: 2.507 MB / 1.17 GB, free: 3.516 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.431e-05/0.2619, allocations: 4 kB / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.337e-05/0.262, allocations: 0 / 1.17 GB, free: 3.512 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.916e-05/0.262, allocations: 7.938 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004911/0.2625, allocations: 127.4 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.351e-05/0.2626, allocations: 43.89 kB / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 2.918e-05/0.2626, allocations: 0 / 1.17 GB, free: 3.336 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.208e-05/0.2627, allocations: 23.86 kB / 1.17 GB, free: 3.312 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.457e-05/0.2627, allocations: 11.98 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.2628, allocations: 4 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002773/0.263, allocations: 115.8 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.2631, allocations: 19.91 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.2631, allocations: 11.94 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001871/0.2633, allocations: 84.06 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2633, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2633, allocations: 0 / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.2633, allocations: 3.938 kB / 1.17 GB, free: 3.066 MB / 0.92 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.0003397/0.2637, allocations: 351.4 kB / 1.171 GB, free: 2.676 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2637, allocations: 8.031 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.037e-05/0.2638, allocations: 38.69 kB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.264, allocations: 16.92 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.187e-05/0.2641, allocations: 160.4 kB / 1.171 GB, free: 2.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2641, allocations: 4.375 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.2641, allocations: 12.27 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.2642, allocations: 76.17 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.2642, allocations: 4 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.2643, allocations: 4 kB / 1.171 GB, free: 2.297 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.2643, allocations: 3.938 kB / 1.171 GB, free: 2.293 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.2643, allocations: 12 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/0.2648, allocations: 474.8 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.265, allocations: 71.66 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.265, allocations: 22.78 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.265, allocations: 4 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.2651, allocations: 34.56 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.2651, allocations: 4 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0005562/0.2656, allocations: 298.2 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.2657, allocations: 110.8 kB / 1.172 GB, free: 1.098 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.3e-05/0.2658, allocations: 97.8 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.2658, allocations: 29.7 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.701e-05/0.2658, allocations: 92.28 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.2658, allocations: 27.8 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.2659, allocations: 29.7 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.266, allocations: 314.8 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.266, allocations: 15.94 kB / 1.172 GB, free: 480 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.314e-05/0.2661, allocations: 53.08 kB / 1.173 GB, free: 408 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.085e-05/0.2662, allocations: 81.08 kB / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2662, allocations: 0 / 1.173 GB, free: 308 kB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001352/0.2663, allocations: 94.02 kB / 1.173 GB, free: 208 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.2663, allocations: 12.12 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.197e-06/0.2663, allocations: 96 / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.2664, allocations: 7.984 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.942e-05/0.2664, allocations: 23.92 kB / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.2664, allocations: 0 / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.067e-05/0.2665, allocations: 8 kB / 1.173 GB, free: 156 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.2665, allocations: 7.938 kB / 1.173 GB, free: 148 kB / 0.92 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 7.505e-05/0.2666, allocations: 118.4 kB / 1.173 GB, free: 20 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.2667, allocations: 3.938 kB / 1.173 GB, free: 16 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.2667, allocations: 15.64 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.2667, allocations: 0 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.2667, allocations: 64 / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.2667, allocations: 11.98 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.2671, allocations: 177.5 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2671, allocations: 0 / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.946e-05/0.2672, allocations: 16 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2672, allocations: 4 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.2672, allocations: 3.938 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2672, allocations: 0 / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.2672, allocations: 4 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.2674, allocations: 329.9 kB / 1.173 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.258e-05/0.2675, allocations: 89.09 kB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.2675, allocations: 4 kB / 1.173 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.2677, allocations: 4 kB / 1.173 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.2677, allocations: 15.92 kB / 1.174 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.2677, allocations: 4 kB / 1.174 GB, free: 15.26 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.312e-05/0.2677, allocations: 79.28 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2677, allocations: 3.938 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003199/0.2681, allocations: 12 kB / 1.174 GB, free: 15.17 MB / 0.9356 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.0004579/0.2685, allocations: 0.8634 MB / 1.174 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.992e-05/0.2686, allocations: 39.97 kB / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2686, allocations: 0 / 1.174 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.812e-05/0.2687, allocations: 23.92 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.2691, allocations: 14.19 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2705, allocations: 1.696 MB / 1.176 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.2708, allocations: 0.6846 MB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.415e-05/0.2708, allocations: 11.86 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.2709, allocations: 15.44 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of SimCode: time 2.4e-07/0.2709, allocations: 0 / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01586/0.2867, allocations: 1.714 MB / 1.179 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.452, allocations: 12.45 kB / 1.179 GB, free: 10.11 MB / 0.9356 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.csv","/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