Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001385/0.001385, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001701/0.001701, allocations: 194.6 kB / 16.26 MB, free: 6.625 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.379/1.379, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 390.2 MB / 0.6643 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 67.89 kB / 0.812 GB, free: 14.74 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7319/0.7335, allocations: 140.4 MB / 0.9491 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002078/0.7356, allocations: 1.334 MB / 0.9504 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002296/0.7379, allocations: 2.474 MB / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.7379, allocations: 0 / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.64e-05/0.7379, allocations: 0 / 0.9528 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.115e-05/0.738, allocations: 9 kB / 0.9528 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004824/0.7385, allocations: 116.5 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.882e-05/0.7386, allocations: 37.08 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.282e-05/0.7386, allocations: 2.312 kB / 0.953 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.823e-05/0.7386, allocations: 17.17 kB / 0.953 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.836e-05/0.7387, allocations: 22.41 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.7387, allocations: 2.188 kB / 0.953 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.739, allocations: 118.6 kB / 0.9531 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.258e-05/0.739, allocations: 9.547 kB / 0.9531 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.7391, allocations: 11.53 kB / 0.9532 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.7392, allocations: 87.45 kB / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.7392, allocations: 0 / 0.9532 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7392, allocations: 5.375 kB / 0.9532 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.7393, allocations: 3.938 kB / 0.9532 GB, free: 5.844 MB / 0.7169 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.0003025/0.7396, allocations: 353.1 kB / 0.9536 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.7396, allocations: 8.844 kB / 0.9536 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.7398, allocations: 14.36 kB / 0.9536 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.872e-05/0.7399, allocations: 165.7 kB / 0.9538 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.7399, allocations: 1.625 kB / 0.9538 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.295e-05/0.7399, allocations: 7.812 kB / 0.9538 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.74, allocations: 78.03 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.74, allocations: 0 / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.7401, allocations: 1.281 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.7401, allocations: 1.594 kB / 0.9538 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.739e-05/0.7401, allocations: 9.344 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.7406, allocations: 474.1 kB / 0.9543 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/0.7407, allocations: 74.64 kB / 0.9544 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.497e-05/0.7407, allocations: 34.78 kB / 0.9544 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.516e-06/0.7407, allocations: 5.25 kB / 0.9544 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.7407, allocations: 33.09 kB / 0.9544 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.223e-06/0.7407, allocations: 0 / 0.9544 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005046/0.7413, allocations: 302.2 kB / 0.9547 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/0.7413, allocations: 108.5 kB / 0.9548 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.161e-05/0.7413, allocations: 98.14 kB / 0.9549 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.719e-06/0.7414, allocations: 27.05 kB / 0.955 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.7414, allocations: 85.3 kB / 0.955 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.7414, allocations: 30.44 kB / 0.9551 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.7414, allocations: 34.11 kB / 0.9551 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.999e-05/0.7415, allocations: 320.2 kB / 0.9554 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.484e-05/0.7415, allocations: 7.344 kB / 0.9554 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.786e-05/0.7416, allocations: 61.17 kB / 0.9555 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.073e-05/0.7416, allocations: 70.64 kB / 0.9555 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.7416, allocations: 5.406 kB / 0.9555 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001148/0.7418, allocations: 98.33 kB / 0.9556 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.7418, allocations: 5.906 kB / 0.9556 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.7418, allocations: 1.531 kB / 0.9556 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.7418, allocations: 5.469 kB / 0.9557 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.7419, allocations: 24.08 kB / 0.9557 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.7419, allocations: 2.094 kB / 0.9557 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.579e-05/0.7419, allocations: 2.438 kB / 0.9557 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.742, allocations: 7.781 kB / 0.9557 GB, free: 3.27 MB / 0.7169 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 4.869e-05/0.742, allocations: 117.2 kB / 0.9558 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.7421, allocations: 4.859 kB / 0.9558 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.7421, allocations: 7.562 kB / 0.9558 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.7421, allocations: 2.031 kB / 0.9558 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.7421, allocations: 5.125 kB / 0.9558 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7421, allocations: 5.078 kB / 0.9558 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002793/0.7424, allocations: 181.5 kB / 0.956 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.7424, allocations: 5.109 kB / 0.956 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.491e-05/0.7425, allocations: 22.25 kB / 0.956 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.7425, allocations: 1.406 kB / 0.956 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.7425, allocations: 1.375 kB / 0.956 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.7425, allocations: 1.156 kB / 0.956 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7425, allocations: 0 / 0.956 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.7427, allocations: 333.8 kB / 0.9563 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/0.7428, allocations: 87.89 kB / 0.9564 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.7428, allocations: 5.406 kB / 0.9564 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.743, allocations: 2.25 kB / 0.9564 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.618e-05/0.743, allocations: 10.77 kB / 0.9564 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.743, allocations: 6.75 kB / 0.9565 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.72e-05/0.743, allocations: 78.19 kB / 0.9565 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.743, allocations: 0 / 0.9565 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003098/0.7434, allocations: 15.28 kB / 0.9565 GB, free: 2.402 MB / 0.7169 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.0001063/0.7435, allocations: 108.8 kB / 0.9566 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.7436, allocations: 51.73 kB / 0.9567 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.7436, allocations: 0 / 0.9567 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.495e-05/0.7436, allocations: 20.02 kB / 0.9567 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.744, allocations: 8.594 kB / 0.9567 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005082/0.7446, allocations: 350.7 kB / 0.9571 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001044/0.7447, allocations: 0.6819 MB / 0.9577 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.401e-05/0.7447, allocations: 15.08 kB / 0.9577 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.161e-05/0.7448, allocations: 11.28 kB / 0.9577 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.7448, allocations: 0 / 0.9577 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of Templates: time 0.002571/0.7473, allocations: 0.6499 MB / 0.9584 GB, free: 0.9336 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches