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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.00829/0.00829, allocations: 101.7 kB / 15.88 MB, free: 6.328 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.002016/0.002016, allocations: 194.2 kB / 16.79 MB, free: 6.254 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.381/1.381, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.383/2.383, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 59.91 kB / 0.8125 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6392/0.6408, allocations: 140.3 MB / 0.9496 GB, free: 9.16 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002271/0.6431, allocations: 1.338 MB / 0.9509 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002621/0.6457, allocations: 2.495 MB / 0.9533 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.6458, allocations: 0 / 0.9533 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.98e-05/0.6458, allocations: 5.312 kB / 0.9533 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.779e-05/0.6459, allocations: 11.92 kB / 0.9533 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.6463, allocations: 112.5 kB / 0.9534 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.084e-05/0.6464, allocations: 45.31 kB / 0.9535 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.6464, allocations: 2.312 kB / 0.9535 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.771e-05/0.6465, allocations: 12.92 kB / 0.9535 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.6465, allocations: 22.94 kB / 0.9535 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.6465, allocations: 1.844 kB / 0.9535 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.6468, allocations: 113.1 kB / 0.9536 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.569e-05/0.6468, allocations: 13.72 kB / 0.9536 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.6469, allocations: 15.72 kB / 0.9537 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.647, allocations: 56.73 kB / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.647, allocations: 0 / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.52e-07/0.647, allocations: 0 / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.467e-06/0.647, allocations: 0 / 0.9537 GB, free: 5.84 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.0003466/0.6474, allocations: 354.2 kB / 0.954 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.6474, allocations: 8.906 kB / 0.9541 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002029/0.6476, allocations: 17.8 kB / 0.9541 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.957e-05/0.6477, allocations: 161.5 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.6477, allocations: 6.438 kB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.6478, allocations: 7.844 kB / 0.9542 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001203/0.6479, allocations: 72.81 kB / 0.9543 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.6479, allocations: 1.219 kB / 0.9543 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.6479, allocations: 5.438 kB / 0.9543 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.6479, allocations: 4 kB / 0.9543 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.981e-05/0.648, allocations: 10.84 kB / 0.9543 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.6485, allocations: 469.5 kB / 0.9548 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.6486, allocations: 78.66 kB / 0.9549 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.6486, allocations: 28.06 kB / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.6486, allocations: 0 / 0.9549 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/0.6487, allocations: 37.56 kB / 0.9549 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.6487, allocations: 0 / 0.9549 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005178/0.6492, allocations: 310.7 kB / 0.9552 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.6492, allocations: 104 kB / 0.9553 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.3e-05/0.6493, allocations: 98.11 kB / 0.9554 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.6493, allocations: 26.33 kB / 0.9554 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.335e-05/0.6493, allocations: 85.27 kB / 0.9555 GB, free: 3.859 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.6493, allocations: 34.88 kB / 0.9555 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.389e-05/0.6494, allocations: 30.02 kB / 0.9556 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.6494, allocations: 320.3 kB / 0.9559 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.558e-05/0.6495, allocations: 8.219 kB / 0.9559 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.869e-05/0.6495, allocations: 52.23 kB / 0.9559 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.863e-05/0.6496, allocations: 78.64 kB / 0.956 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.6496, allocations: 5.25 kB / 0.956 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001171/0.6497, allocations: 94.61 kB / 0.9561 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.6497, allocations: 5.594 kB / 0.9561 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.6497, allocations: 5.344 kB / 0.9561 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6498, allocations: 1.406 kB / 0.9561 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.6498, allocations: 28.83 kB / 0.9561 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.6499, allocations: 2.281 kB / 0.9561 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.689e-05/0.6499, allocations: 2 kB / 0.9562 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-06/0.6499, allocations: 3.656 kB / 0.9562 GB, free: 3.266 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 5.314e-05/0.65, allocations: 121.7 kB / 0.9563 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.65, allocations: 4.031 kB / 0.9563 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.6501, allocations: 7.562 kB / 0.9563 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.6501, allocations: 5.281 kB / 0.9563 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6501, allocations: 1.562 kB / 0.9563 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6501, allocations: 5.172 kB / 0.9563 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002806/0.6504, allocations: 182.2 kB / 0.9565 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.6504, allocations: 5.219 kB / 0.9565 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/0.6505, allocations: 12.72 kB / 0.9565 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6505, allocations: 1.766 kB / 0.9565 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-06/0.6505, allocations: 2.438 kB / 0.9565 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6505, allocations: 1.219 kB / 0.9565 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.6505, allocations: 3.938 kB / 0.9565 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.6507, allocations: 337.1 kB / 0.9568 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.57e-05/0.6507, allocations: 84.48 kB / 0.9569 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.329e-05/0.6507, allocations: 0.9688 kB / 0.9569 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.6509, allocations: 3.219 kB / 0.9569 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.981e-05/0.651, allocations: 11.17 kB / 0.9569 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.651, allocations: 14.42 kB / 0.9569 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.949e-05/0.651, allocations: 78.34 kB / 0.957 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.651, allocations: 0 / 0.957 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003092/0.6513, allocations: 13.66 kB / 0.957 GB, free: 2.395 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.0001076/0.6514, allocations: 106.2 kB / 0.9571 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.6515, allocations: 42.89 kB / 0.9572 GB, free: 2.289 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6515, allocations: 4.062 kB / 0.9572 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.665e-05/0.6516, allocations: 23.8 kB / 0.9572 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004364/0.652, allocations: 4.875 kB / 0.9572 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005148/0.6525, allocations: 374.3 kB / 0.9575 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.6527, allocations: 0.6867 MB / 0.9582 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.393e-05/0.6527, allocations: 12 kB / 0.9582 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.6527, allocations: 3.938 kB / 0.9582 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of Templates: time 0.002049/0.6548, allocations: 0.7795 MB / 0.959 GB, free: 0.8281 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/jenkins1/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