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.0008918/0.0008918, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001008/0.001008, allocations: 166 kB / 24.87 MB, free: 9.258 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.9949/0.9949, allocations: 177.1 MB / 205.3 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 1.769/1.769, allocations: 359 MB / 0.6063 GB, free: 10.9 MB / 0.573 GB " [Timeout remaining time 178] 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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|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.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|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.663e-06/1.663e-06, allocations: 0 / 0.7884 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.777e-05, allocations: 2.312 kB / 0.7884 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004456/0.004484, allocations: 4.22 MB / 0.7925 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002075/0.006558, allocations: 2.547 MB / 0.795 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.006629, allocations: 4 kB / 0.795 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.006865, allocations: 48.91 kB / 0.795 GB, free: 5.355 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002169/0.007082, allocations: 124.6 kB / 0.7951 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007692/0.007851, allocations: 0.631 MB / 0.7957 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.008098, allocations: 288.9 kB / 0.796 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.008142, allocations: 9.812 kB / 0.796 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001927/0.008335, allocations: 167.6 kB / 0.7962 GB, free: 4.148 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.00845, allocations: 80.73 kB / 0.7963 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.00847, allocations: 8 kB / 0.7963 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005471/0.009017, allocations: 429.2 kB / 0.7967 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.009082, allocations: 43.81 kB / 0.7967 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.009138, allocations: 63.89 kB / 0.7968 GB, free: 3.539 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004416/0.009579, allocations: 414.7 kB / 0.7972 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.009585, allocations: 4 kB / 0.7972 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.01e-07/0.009586, allocations: 0 / 0.7972 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.009591, allocations: 3.219 kB / 0.7972 GB, free: 3.129 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.0006579/0.01025, allocations: 0.5387 MB / 0.7977 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.01029, allocations: 12.03 kB / 0.7977 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001043/0.01134, allocations: 237.2 kB / 0.798 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.01152, allocations: 164.2 kB / 0.7981 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.01154, allocations: 13.23 kB / 0.7981 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.01157, allocations: 21.25 kB / 0.7981 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.01194, allocations: 487.9 kB / 0.7986 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.01195, allocations: 192 / 0.7986 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.01197, allocations: 12.88 kB / 0.7986 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.01199, allocations: 8 kB / 0.7986 GB, free: 1.496 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.01217, allocations: 158.2 kB / 0.7988 GB, free: 1.344 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009593/0.01313, allocations: 1.601 MB / 0.8003 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000227/0.01335, allocations: 144.5 kB / 0.8005 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.56e-05/0.01341, allocations: 47.17 kB / 0.8005 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.01343, allocations: 7.984 kB / 0.8005 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.01345, allocations: 37.39 kB / 0.8006 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.262e-06/0.01345, allocations: 0 / 0.8006 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.0002792/0.01373, allocations: 175.5 kB / 0.8007 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.637e-05/0.01376, allocations: 51.41 kB / 0.8008 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.087e-05/0.01385, allocations: 200.3 kB / 0.801 GB, free: 14.97 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.01387, allocations: 29.7 kB / 0.801 GB, free: 14.93 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.01395, allocations: 186.9 kB / 0.8012 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.027e-05/0.01399, allocations: 68.44 kB / 0.8013 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.425e-05/0.01406, allocations: 63.45 kB / 0.8013 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.01418, allocations: 0.4895 MB / 0.8018 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.835e-05/0.01423, allocations: 32.44 kB / 0.8018 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/0.01432, allocations: 147.2 kB / 0.802 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.01449, allocations: 198.4 kB / 0.8021 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.01449, allocations: 0 / 0.8021 GB, free: 13.65 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002894/0.01478, allocations: 197.2 kB / 0.8023 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01479, allocations: 8 kB / 0.8023 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.0148, allocations: 3.938 kB / 0.8023 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.01481, allocations: 4 kB / 0.8024 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.015, allocations: 68.2 kB / 0.8024 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.015, allocations: 8 kB / 0.8024 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.594e-05/0.0151, allocations: 27.84 kB / 0.8025 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.475e-05/0.01511, allocations: 11.98 kB / 0.8025 GB, free: 13.32 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 9.707e-05/0.01521, allocations: 172.5 kB / 0.8026 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.885e-05/0.01525, allocations: 11.95 kB / 0.8026 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.01548, allocations: 176.3 kB / 0.8028 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.01549, allocations: 0 / 0.8028 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.01549, allocations: 0 / 0.8028 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.01549, allocations: 7.984 kB / 0.8028 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.01565, allocations: 153.1 kB / 0.803 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01565, allocations: 0 / 0.803 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/0.01579, allocations: 59.89 kB / 0.803 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.01579, allocations: 4 kB / 0.803 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.0158, allocations: 0 / 0.803 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.0158, allocations: 0 / 0.803 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.01581, allocations: 3.938 kB / 0.803 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002111/0.01602, allocations: 307.6 kB / 0.8033 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.01607, allocations: 27.81 kB / 0.8033 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.01609, allocations: 4 kB / 0.8033 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.01619, allocations: 15.98 kB / 0.8034 GB, free: 12.34 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.01622, allocations: 19.91 kB / 0.8034 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.01623, allocations: 11.98 kB / 0.8034 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001734/0.01641, allocations: 137.7 kB / 0.8035 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01641, allocations: 0 / 0.8035 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002566/0.01666, allocations: 67.94 kB / 0.8036 GB, free: 12.11 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.0001625/0.01683, allocations: 135.2 kB / 0.8037 GB, free: 11.96 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.01702, allocations: 141.1 kB / 0.8039 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01702, allocations: 0 / 0.8039 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.715e-05/0.01709, allocations: 67.58 kB / 0.8039 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.01741, allocations: 76.53 kB / 0.804 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.01812, allocations: 361.4 kB / 0.8043 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.01816, allocations: 76.83 kB / 0.8044 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001524/0.01831, allocations: 45.47 kB / 0.8045 GB, free: 11.16 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.0185, allocations: 154.1 kB / 0.8046 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of SimCode: time 7.21e-07/0.0185, allocations: 0 / 0.8046 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of Templates: time 0.005435/0.02394, allocations: 3.852 MB / 0.8084 GB, free: 7.262 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.14822749979794]