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.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.001509/0.001509, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001574/0.001574, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.389/1.389, allocations: 222.9 MB / 245.7 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 489.3 MB / 0.7687 GB, free: 3.773 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 71.88 kB / 1.103 GB, free: 0.8359 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8165/0.8184, allocations: 163.8 MB / 1.263 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001976/0.8204, allocations: 1.272 MB / 1.264 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002423/0.8229, allocations: 2.485 MB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.611e-05/0.8229, allocations: 0.7812 kB / 1.266 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.8229, allocations: 9.016 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.168e-05/0.823, allocations: 9.297 kB / 1.266 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.8234, allocations: 131.5 kB / 1.266 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.269e-05/0.8235, allocations: 35.47 kB / 1.266 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.123e-05/0.8236, allocations: 2.781 kB / 1.266 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.025e-05/0.8236, allocations: 24.33 kB / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.543e-05/0.8237, allocations: 9.875 kB / 1.266 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.171e-05/0.8237, allocations: 5.969 kB / 1.266 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000296/0.824, allocations: 120 kB / 1.267 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.824, allocations: 11.47 kB / 1.267 GB, free: 5.371 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.978e-05/0.824, allocations: 12.7 kB / 1.267 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.8243, allocations: 84.23 kB / 1.267 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.8243, allocations: 0 / 1.267 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8243, allocations: 0.8125 kB / 1.267 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.8243, allocations: 0 / 1.267 GB, free: 5.34 MB / 0.9981 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.000304/0.8246, allocations: 360.5 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.8246, allocations: 9.25 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.8248, allocations: 20.7 kB / 1.267 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.523e-05/0.8249, allocations: 162.3 kB / 1.267 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.8249, allocations: 2.344 kB / 1.267 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.8249, allocations: 12.48 kB / 1.267 GB, free: 4.754 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.8251, allocations: 79.55 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.8251, allocations: 1.234 kB / 1.267 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.8251, allocations: 4.75 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.8251, allocations: 1.438 kB / 1.267 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.8252, allocations: 12.36 kB / 1.267 GB, free: 4.672 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.8256, allocations: 466.5 kB / 1.268 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.8257, allocations: 73.91 kB / 1.268 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.484e-05/0.8258, allocations: 24.03 kB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.8258, allocations: 0.9375 kB / 1.268 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.884e-05/0.8258, allocations: 42.47 kB / 1.268 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.8258, allocations: 0 / 1.268 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005043/0.8263, allocations: 301.9 kB / 1.268 GB, free: 3.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.713e-05/0.8264, allocations: 104.3 kB / 1.268 GB, free: 3.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.796e-05/0.8264, allocations: 100.7 kB / 1.268 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.8264, allocations: 26.42 kB / 1.268 GB, free: 3.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.392e-05/0.8265, allocations: 94.42 kB / 1.268 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.8265, allocations: 33.94 kB / 1.269 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.8265, allocations: 22.72 kB / 1.269 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.179e-05/0.8266, allocations: 322.4 kB / 1.269 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.271e-05/0.8266, allocations: 13.8 kB / 1.269 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.8267, allocations: 52.77 kB / 1.269 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.671e-05/0.8267, allocations: 78.05 kB / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.8267, allocations: 0 / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001305/0.8269, allocations: 102.3 kB / 1.269 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.8269, allocations: 12.23 kB / 1.269 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.8269, allocations: 1.656 kB / 1.269 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.8269, allocations: 2.375 kB / 1.269 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.951e-05/0.827, allocations: 19.14 kB / 1.269 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.827, allocations: 6.766 kB / 1.269 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.657e-05/0.8271, allocations: 1.719 kB / 1.269 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-06/0.8271, allocations: 8.125 kB / 1.269 GB, free: 2.836 MB / 0.9981 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.708e-05/0.8271, allocations: 118.3 kB / 1.269 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.789e-05/0.8272, allocations: 10.91 kB / 1.269 GB, free: 2.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.477e-05/0.8272, allocations: 14.19 kB / 1.269 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.8272, allocations: 1.875 kB / 1.269 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.8272, allocations: 0.9688 kB / 1.269 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.8273, allocations: 1.344 kB / 1.269 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002876/0.8275, allocations: 174.2 kB / 1.269 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8276, allocations: 1.094 kB / 1.269 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.643e-05/0.8276, allocations: 19.91 kB / 1.269 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8277, allocations: 1.656 kB / 1.269 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.8277, allocations: 1.5 kB / 1.269 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.8277, allocations: 5.562 kB / 1.269 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8277, allocations: 4.969 kB / 1.269 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.8279, allocations: 327.6 kB / 1.27 GB, free: 2.191 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.8279, allocations: 86.05 kB / 1.27 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.8279, allocations: 2.266 kB / 1.27 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.8281, allocations: 7.75 kB / 1.27 GB, free: 2.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.792e-05/0.8281, allocations: 13.11 kB / 1.27 GB, free: 2.082 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.8281, allocations: 7.016 kB / 1.27 GB, free: 2.078 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.882e-05/0.8282, allocations: 78.5 kB / 1.27 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8282, allocations: 0.9688 kB / 1.27 GB, free: 2.004 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003135/0.8285, allocations: 13.75 kB / 1.27 GB, free: 2 MB / 0.9981 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 9.911e-05/0.8286, allocations: 106.5 kB / 1.27 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.8287, allocations: 44.42 kB / 1.27 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8287, allocations: 0 / 1.27 GB, free: 1.895 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 2.974e-05/0.8288, allocations: 21.7 kB / 1.27 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004098/0.8292, allocations: 14.14 kB / 1.27 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005095/0.8297, allocations: 364.9 kB / 1.27 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.8298, allocations: 0.6876 MB / 1.271 GB, free: 0.8633 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.8299, allocations: 11.41 kB / 1.271 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of SimCode: time 8.52e-07/0.8299, allocations: 0 / 1.271 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of Templates: time 0.002417/0.8323, allocations: 0.8018 MB / 1.272 GB, free: 0.7891 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.718191551044583]