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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00078/0.00078, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009066/0.0009066, allocations: 170.3 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8748/0.8748, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.742/1.742, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.331e-05, allocations: 2.281 kB / 0.9996 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.0017/0.001723, allocations: 1.263 MB / 1.001 GB, free: 12.25 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.002156/0.003879, allocations: 2.375 MB / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.277e-05/0.003912, allocations: 0 / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.882e-05/0.003931, allocations: 0 / 1.003 GB, free: 9.863 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.763e-05/0.003978, allocations: 11.98 kB / 1.003 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004915/0.00447, allocations: 135.2 kB / 1.003 GB, free: 9.719 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 6.886e-05/0.004539, allocations: 39.78 kB / 1.003 GB, free: 9.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.015e-05/0.004579, allocations: 11.92 kB / 1.003 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.321e-05/0.004632, allocations: 19.98 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.815e-05/0.00469, allocations: 15.97 kB / 1.003 GB, free: 9.633 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.13e-05/0.004701, allocations: 3.938 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002042/0.004906, allocations: 107.7 kB / 1.004 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.004918, allocations: 3.938 kB / 1.004 GB, free: 9.52 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.6e-05/0.004944, allocations: 19.97 kB / 1.004 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.00511, allocations: 79.78 kB / 1.004 GB, free: 9.422 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.005113, allocations: 3.938 kB / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.422e-06/0.005114, allocations: 0 / 1.004 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.005119, allocations: 0 / 1.004 GB, free: 9.418 MB / 0.9636 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.0003274/0.005446, allocations: 282.2 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.005488, allocations: 9.344 kB / 1.004 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.768e-05/0.005525, allocations: 38.75 kB / 1.004 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.005667, allocations: 16.92 kB / 1.004 GB, free: 9.043 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.906e-05/0.005736, allocations: 105.7 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.005747, allocations: 4.375 kB / 1.004 GB, free: 8.91 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.005769, allocations: 8.375 kB / 1.004 GB, free: 8.902 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.005906, allocations: 149.9 kB / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.005913, allocations: 192 / 1.004 GB, free: 8.723 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.005925, allocations: 3.938 kB / 1.004 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.005929, allocations: 4 kB / 1.004 GB, free: 8.715 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.094e-05/0.00596, allocations: 4 kB / 1.004 GB, free: 8.711 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.006412, allocations: 420.3 kB / 1.005 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.006521, allocations: 75.67 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.772e-05/0.006549, allocations: 22.7 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.006558, allocations: 4 kB / 1.005 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.006577, allocations: 34.56 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.193e-06/0.006579, allocations: 7.938 kB / 1.005 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0004567/0.007035, allocations: 221.2 kB / 1.005 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.007076, allocations: 107 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.09e-05/0.007127, allocations: 105.8 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.007138, allocations: 33.69 kB / 1.005 GB, free: 7.531 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.00717, allocations: 84.09 kB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.007185, allocations: 27.75 kB / 1.005 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.07e-05/0.007216, allocations: 29.7 kB / 1.005 GB, free: 7.383 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.614e-05/0.007282, allocations: 318.8 kB / 1.006 GB, free: 7.062 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.007302, allocations: 15.92 kB / 1.006 GB, free: 7.047 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.55e-05/0.007337, allocations: 53.16 kB / 1.006 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.244e-05/0.0074, allocations: 73.08 kB / 1.006 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.007401, allocations: 3.938 kB / 1.006 GB, free: 6.883 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 9.313e-05/0.007494, allocations: 93.55 kB / 1.006 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.007507, allocations: 7.938 kB / 1.006 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.007512, allocations: 0 / 1.006 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.007524, allocations: 4 kB / 1.006 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.178e-05/0.007576, allocations: 23.98 kB / 1.006 GB, free: 6.75 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.007583, allocations: 7.984 kB / 1.006 GB, free: 6.742 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.098e-05/0.007604, allocations: 4.125 kB / 1.006 GB, free: 6.738 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.007609, allocations: 4 kB / 1.006 GB, free: 6.734 MB / 0.9636 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.512e-05/0.007664, allocations: 121.7 kB / 1.006 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.007695, allocations: 8.562 kB / 1.006 GB, free: 6.598 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.31e-05/0.007718, allocations: 7.812 kB / 1.006 GB, free: 6.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.007723, allocations: 7.984 kB / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.007728, allocations: 0 / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.00773, allocations: 0 / 1.006 GB, free: 6.582 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002086/0.007939, allocations: 148.7 kB / 1.006 GB, free: 6.395 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.007941, allocations: 7.984 kB / 1.006 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.007987, allocations: 19.98 kB / 1.006 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.007989, allocations: 0 / 1.006 GB, free: 6.367 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.007995, allocations: 4 kB / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.007996, allocations: 0 / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.007997, allocations: 0 / 1.006 GB, free: 6.363 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.008169, allocations: 329.9 kB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.008195, allocations: 4 kB / 1.007 GB, free: 6.02 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.008209, allocations: 8.062 kB / 1.007 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.452e-05/0.008303, allocations: 8.031 kB / 1.007 GB, free: 6.004 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.008317, allocations: 4 kB / 1.007 GB, free: 6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.008323, allocations: 7.938 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.391e-05/0.008347, allocations: 87.27 kB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008347, allocations: 0 / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002093/0.008556, allocations: 12 kB / 1.007 GB, free: 5.895 MB / 0.9636 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.0003441/0.0089, allocations: 0.8633 MB / 1.008 GB, free: 5.004 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.877e-05/0.008999, allocations: 51.86 kB / 1.008 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.009001, allocations: 256 / 1.008 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.619e-05/0.009017, allocations: 20 kB / 1.008 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.009342, allocations: 10.52 kB / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.01039, allocations: 1.629 MB / 1.009 GB, free: 3.176 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.235e-05/0.01044, allocations: 67.34 kB / 1.009 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.634e-05/0.01048, allocations: 12.05 kB / 1.009 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.01051, allocations: 20.44 kB / 1.009 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.01051, allocations: 0 / 1.009 GB, free: 3.059 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01458/0.0251, allocations: 2.372 MB / 1.012 GB, free: 0.8867 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.315/6.34, allocations: 0 / 1.012 GB, free: 0.8867 MB / 0.9636 GB " [Timeout remaining time 294] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-08 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 840.0] 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) [Timeout 300] "Error: Could not read variable der(cpCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cpCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! Error: Could not read variable der(cvCod) in file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat. Warning: Get data of variable der(cvCod) from file Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.300863959826529]