Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.002573/0.002573, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.003057/0.003057, allocations: 157.3 kB / 23.55 MB, free: 0.8711 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 1.633/1.633, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.901/2.901, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.1.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.1.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0.6562 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.594e-05/2.782e-05, allocations: 4.141 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006944/0.006972, allocations: 4.188 MB / 0.7905 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003719/0.01069, allocations: 2.536 MB / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.01076, allocations: 0 / 0.793 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.01105, allocations: 49 kB / 0.793 GB, free: 6 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003256/0.01137, allocations: 113 kB / 0.7931 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001404/0.01278, allocations: 0.5603 MB / 0.7937 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.01316, allocations: 271.6 kB / 0.7939 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.132e-05/0.0132, allocations: 7 kB / 0.794 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.01349, allocations: 155.6 kB / 0.7941 GB, free: 4.906 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001679/0.01366, allocations: 86.91 kB / 0.7942 GB, free: 4.824 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.01369, allocations: 8 kB / 0.7942 GB, free: 4.816 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008202/0.01451, allocations: 403 kB / 0.7946 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 9.141e-05/0.0146, allocations: 39.88 kB / 0.7946 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.0147, allocations: 63.84 kB / 0.7947 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.00086/0.01556, allocations: 442.6 kB / 0.7951 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.01557, allocations: 0 / 0.7951 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01557, allocations: 0 / 0.7951 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.01558, allocations: 0 / 0.7951 GB, free: 3.887 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0009363/0.01651, allocations: 0.5408 MB / 0.7956 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.442e-05/0.01655, allocations: 8.031 kB / 0.7956 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002162/0.01871, allocations: 245.8 kB / 0.7959 GB, free: 3.062 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003431/0.01905, allocations: 160.3 kB / 0.796 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.934e-05/0.01908, allocations: 15.52 kB / 0.796 GB, free: 2.867 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.01913, allocations: 16.38 kB / 0.7961 GB, free: 2.852 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001122/0.02025, allocations: 0.5144 MB / 0.7966 GB, free: 2.242 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.02026, allocations: 4.188 kB / 0.7966 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.02031, allocations: 12.12 kB / 0.7966 GB, free: 2.227 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.02033, allocations: 8 kB / 0.7966 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006818/0.02101, allocations: 247.6 kB / 0.7968 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002023/0.02303, allocations: 1.636 MB / 0.7984 GB, free: 268 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.02368, allocations: 197.4 kB / 0.7986 GB, free: 60 kB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.02392, allocations: 80.55 kB / 0.7987 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.02395, allocations: 7.938 kB / 0.7987 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.024, allocations: 46.45 kB / 0.7987 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.172e-06/0.024, allocations: 0 / 0.7987 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0007856/0.02479, allocations: 236 kB / 0.799 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.644e-05/0.02484, allocations: 60.41 kB / 0.799 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.02505, allocations: 209.8 kB / 0.7992 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.02509, allocations: 29.7 kB / 0.7992 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.02522, allocations: 176 kB / 0.7994 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.976e-05/0.02529, allocations: 63.44 kB / 0.7995 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.02541, allocations: 64.06 kB / 0.7995 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002886/0.0257, allocations: 0.4962 MB / 0.8 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.02591, allocations: 66.11 kB / 0.8001 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.02621, allocations: 169.4 kB / 0.8002 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.02672, allocations: 241.5 kB / 0.8005 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.02672, allocations: 0.6562 kB / 0.8005 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006214/0.02734, allocations: 253.2 kB / 0.8007 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.02736, allocations: 11.94 kB / 0.8007 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.02737, allocations: 0 / 0.8007 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.02739, allocations: 7.984 kB / 0.8007 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003746/0.02776, allocations: 63.89 kB / 0.8008 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.02777, allocations: 7.938 kB / 0.8008 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002352/0.02801, allocations: 32.09 kB / 0.8008 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.02804, allocations: 19.98 kB / 0.8008 GB, free: 13.59 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.000166/0.0282, allocations: 172.5 kB / 0.801 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.02828, allocations: 23.89 kB / 0.801 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/0.02892, allocations: 222.6 kB / 0.8012 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.02892, allocations: 4 kB / 0.8013 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.02893, allocations: 0 / 0.8013 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.02893, allocations: 0 / 0.8013 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003125/0.02924, allocations: 188.5 kB / 0.8014 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.02924, allocations: 0 / 0.8014 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003161/0.02956, allocations: 47.95 kB / 0.8015 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.02956, allocations: 0 / 0.8015 GB, free: 12.89 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.533e-05/0.02959, allocations: 11.94 kB / 0.8015 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.02959, allocations: 4 kB / 0.8015 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.02959, allocations: 0 / 0.8015 GB, free: 12.88 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006404/0.03023, allocations: 353.2 kB / 0.8018 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.588e-05/0.03033, allocations: 27.86 kB / 0.8019 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.733e-05/0.03036, allocations: 7.938 kB / 0.8019 GB, free: 12.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002376/0.0306, allocations: 12 kB / 0.8019 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.03065, allocations: 19.92 kB / 0.8019 GB, free: 12.45 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/0.03068, allocations: 11.98 kB / 0.8019 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001392/0.03082, allocations: 146.6 kB / 0.802 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.03082, allocations: 0 / 0.802 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003856/0.0312, allocations: 71.94 kB / 0.8021 GB, free: 12.22 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (20): * Single equations (assignments): 20 * 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.0002581/0.03146, allocations: 135.2 kB / 0.8022 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005526/0.03201, allocations: 196.1 kB / 0.8024 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.03202, allocations: 0 / 0.8024 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.03226, allocations: 96.08 kB / 0.8025 GB, free: 11.79 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000564/0.03282, allocations: 81.89 kB / 0.8026 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009736/0.0338, allocations: 362.8 kB / 0.8029 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.03392, allocations: 103 kB / 0.803 GB, free: 11.21 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002639/0.03418, allocations: 49.47 kB / 0.8031 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.03449, allocations: 24.48 kB / 0.8031 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/0.03449, allocations: 0 / 0.8031 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of Templates: time 0.008695/0.04319, allocations: 3.478 MB / 0.8065 GB, free: 7.77 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.17291971296072]