Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 113.2 kB / 16.46 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.917/2.917, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 60.14 kB / 1.104 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7552/0.7572, allocations: 168.7 MB / 1.269 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002707/0.7599, allocations: 1.268 MB / 1.27 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003624/0.7635, allocations: 2.505 MB / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.7636, allocations: 0 / 1.272 GB, free: 1.504 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.671e-05/0.7636, allocations: 3.938 kB / 1.272 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.464e-05/0.7636, allocations: 7.922 kB / 1.272 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006292/0.7643, allocations: 139.4 kB / 1.273 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.69e-05/0.7644, allocations: 39.8 kB / 1.273 GB, free: 1.316 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.259e-05/0.7644, allocations: 8 kB / 1.273 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.866e-05/0.7644, allocations: 11.98 kB / 1.273 GB, free: 1.297 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.117e-05/0.7645, allocations: 23.91 kB / 1.273 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.7645, allocations: 0 / 1.273 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003374/0.7649, allocations: 119.8 kB / 1.273 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.458e-05/0.7649, allocations: 4 kB / 1.273 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.7649, allocations: 23.91 kB / 1.273 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.7652, allocations: 89.55 kB / 1.273 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7652, allocations: 0 / 1.273 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.713e-06/0.7652, allocations: 0 / 1.273 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.7652, allocations: 0 / 1.273 GB, free: 1.043 MB / 0.9669 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.0004776/0.7657, allocations: 351.3 kB / 1.273 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.7657, allocations: 12.03 kB / 1.273 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.49e-05/0.7657, allocations: 30.75 kB / 1.273 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.766, allocations: 12.92 kB / 1.273 GB, free: 0.5898 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.7661, allocations: 172.3 kB / 1.273 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.7661, allocations: 4.375 kB / 1.273 GB, free: 388 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.7661, allocations: 4.375 kB / 1.273 GB, free: 384 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.7663, allocations: 76.12 kB / 1.273 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.7663, allocations: 0 / 1.273 GB, free: 292 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.7663, allocations: 3.984 kB / 1.273 GB, free: 288 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.7663, allocations: 4 kB / 1.273 GB, free: 284 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.497e-05/0.7664, allocations: 15.94 kB / 1.274 GB, free: 268 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.767, allocations: 462.9 kB / 1.274 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.7672, allocations: 75.72 kB / 1.274 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.7672, allocations: 26.66 kB / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.815e-06/0.7672, allocations: 0 / 1.274 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.7673, allocations: 38.5 kB / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.7673, allocations: 0 / 1.274 GB, free: 15.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006698/0.7679, allocations: 314.2 kB / 1.274 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.768, allocations: 102.8 kB / 1.274 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.452e-05/0.7681, allocations: 97.86 kB / 1.275 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.7681, allocations: 29.7 kB / 1.275 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.7682, allocations: 88.09 kB / 1.275 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.7682, allocations: 31.72 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.7682, allocations: 29.97 kB / 1.275 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.7684, allocations: 322.8 kB / 1.275 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.944e-05/0.7684, allocations: 12 kB / 1.275 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.7685, allocations: 53.08 kB / 1.275 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.7686, allocations: 81.02 kB / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.7686, allocations: 0 / 1.275 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001501/0.7687, allocations: 94.06 kB / 1.275 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.7687, allocations: 10.03 kB / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.7687, allocations: 0 / 1.275 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.7688, allocations: 8.125 kB / 1.275 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.963e-05/0.7689, allocations: 19.98 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.7689, allocations: 0 / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.164e-05/0.7689, allocations: 8 kB / 1.275 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.7689, allocations: 7.938 kB / 1.275 GB, free: 14.13 MB / 0.9825 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.703e-05/0.769, allocations: 117.8 kB / 1.275 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.7691, allocations: 8.031 kB / 1.275 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.461e-05/0.7691, allocations: 7.562 kB / 1.275 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.7691, allocations: 0 / 1.275 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.7691, allocations: 8 kB / 1.275 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.7691, allocations: 7.922 kB / 1.275 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003648/0.7695, allocations: 173.6 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.7695, allocations: 3.984 kB / 1.276 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.887e-05/0.7696, allocations: 16 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7696, allocations: 0 / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.7696, allocations: 4 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.7696, allocations: 4 kB / 1.276 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.7696, allocations: 3.938 kB / 1.276 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.7699, allocations: 330 kB / 1.276 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.6e-05/0.77, allocations: 89.03 kB / 1.276 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.77, allocations: 8 kB / 1.276 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001833/0.7702, allocations: 0 / 1.276 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.7702, allocations: 7.938 kB / 1.276 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.162e-05/0.7702, allocations: 7.984 kB / 1.276 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.488e-05/0.7702, allocations: 83.28 kB / 1.276 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.7702, allocations: 0 / 1.276 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003157/0.7706, allocations: 12 kB / 1.276 GB, free: 13.16 MB / 0.9825 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.0005969/0.7712, allocations: 0.8601 MB / 1.277 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.7713, allocations: 47.91 kB / 1.277 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.7713, allocations: 0 / 1.277 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.222e-05/0.7713, allocations: 23.92 kB / 1.277 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.7718, allocations: 12.75 kB / 1.277 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001849/0.7736, allocations: 1.704 MB / 1.279 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.774, allocations: 0.6815 MB / 1.279 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.373e-05/0.774, allocations: 11.98 kB / 1.279 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.7741, allocations: 15.44 kB / 1.279 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of SimCode: time 5.51e-07/0.7741, allocations: 0 / 1.279 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.8, allocations: 1.733 MB / 1.281 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.26/9.06, allocations: 11.78 kB / 1.281 GB, free: 8.078 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.360095783136785]