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.0008134/0.0008134, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001808/0.001808, allocations: 185.3 kB / 24.09 MB, free: 416 kB / 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.034/1.034, allocations: 177.1 MB / 204.5 MB, free: 5.488 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.763/1.763, allocations: 359 MB / 0.6055 GB, free: 10.91 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.903e-06/1.903e-06, allocations: 0 / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.525e-05/2.715e-05, allocations: 4.703 kB / 0.7876 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006158/0.006185, allocations: 4.203 MB / 0.7917 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003038/0.009223, allocations: 2.56 MB / 0.7942 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.009332, allocations: 3.938 kB / 0.7942 GB, free: 5.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003072/0.009639, allocations: 48.22 kB / 0.7943 GB, free: 5.363 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.009972, allocations: 116.9 kB / 0.7944 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.01179, allocations: 0.6334 MB / 0.795 GB, free: 4.621 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.01215, allocations: 291.8 kB / 0.7953 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.014e-05/0.01219, allocations: 14.59 kB / 0.7953 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.01243, allocations: 161.3 kB / 0.7954 GB, free: 4.164 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.01255, allocations: 87.75 kB / 0.7955 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.01257, allocations: 8 kB / 0.7955 GB, free: 4.07 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006756/0.01325, allocations: 426.9 kB / 0.7959 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.696e-05/0.01331, allocations: 40.73 kB / 0.796 GB, free: 3.613 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.945e-05/0.01337, allocations: 67.88 kB / 0.796 GB, free: 3.547 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004902/0.01386, allocations: 414.7 kB / 0.7964 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.01387, allocations: 2.219 kB / 0.7964 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.71e-07/0.01387, allocations: 0 / 0.7964 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.01387, allocations: 0 / 0.7964 GB, free: 3.141 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.0006867/0.01456, allocations: 0.5348 MB / 0.797 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.01459, allocations: 12.03 kB / 0.797 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009737/0.01557, allocations: 242.7 kB / 0.7972 GB, free: 2.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001716/0.01574, allocations: 160.9 kB / 0.7974 GB, free: 2.137 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.01575, allocations: 8.703 kB / 0.7974 GB, free: 2.129 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.01578, allocations: 22.22 kB / 0.7974 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.01612, allocations: 487.4 kB / 0.7979 GB, free: 1.535 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.01613, allocations: 8.125 kB / 0.7979 GB, free: 1.527 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.01615, allocations: 17.09 kB / 0.7979 GB, free: 1.512 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.01617, allocations: 4 kB / 0.7979 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.01635, allocations: 150.1 kB / 0.798 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000906/0.01725, allocations: 1.615 MB / 0.7996 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.01747, allocations: 130.9 kB / 0.7997 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.06e-05/0.01752, allocations: 47.66 kB / 0.7998 GB, free: 15.49 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.01754, allocations: 5.469 kB / 0.7998 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.01756, allocations: 45.33 kB / 0.7998 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/0.01756, allocations: 0 / 0.7998 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of matching and sorting (n=18): time 0.000251/0.01781, allocations: 167.9 kB / 0.8 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.227e-05/0.01784, allocations: 59.39 kB / 0.8 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.862e-05/0.01791, allocations: 201 kB / 0.8002 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.01793, allocations: 29.7 kB / 0.8003 GB, free: 14.95 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 6.23e-05/0.018, allocations: 182.9 kB / 0.8004 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.401e-05/0.01803, allocations: 68.48 kB / 0.8005 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-05/0.01809, allocations: 59.53 kB / 0.8006 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.0182, allocations: 0.4923 MB / 0.801 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.026e-05/0.01825, allocations: 37.72 kB / 0.8011 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.955e-05/0.01834, allocations: 146.1 kB / 0.8012 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001462/0.01848, allocations: 186.9 kB / 0.8014 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.01848, allocations: 0 / 0.8014 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0002093/0.01869, allocations: 197.2 kB / 0.8016 GB, free: 13.47 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.01871, allocations: 8 kB / 0.8016 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.01871, allocations: 3.938 kB / 0.8016 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.01872, allocations: 8.312 kB / 0.8016 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.01889, allocations: 71.88 kB / 0.8017 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.0189, allocations: 4 kB / 0.8017 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.809e-05/0.01898, allocations: 23.84 kB / 0.8017 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.019, allocations: 11.98 kB / 0.8017 GB, free: 13.34 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 7.93e-05/0.01908, allocations: 168.5 kB / 0.8019 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.01911, allocations: 23.89 kB / 0.8019 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002187/0.01933, allocations: 174.5 kB / 0.8021 GB, free: 12.97 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.01933, allocations: 4 kB / 0.8021 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-06/0.01933, allocations: 0 / 0.8021 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01934, allocations: 0 / 0.8021 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.01949, allocations: 161.1 kB / 0.8022 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01949, allocations: 4 kB / 0.8022 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.01961, allocations: 47.97 kB / 0.8023 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01961, allocations: 0 / 0.8023 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.01963, allocations: 11.92 kB / 0.8023 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01963, allocations: 4 kB / 0.8023 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01963, allocations: 7.922 kB / 0.8023 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001964/0.01983, allocations: 297.6 kB / 0.8026 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.01987, allocations: 31.81 kB / 0.8026 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.01989, allocations: 7.984 kB / 0.8026 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.01998, allocations: 8 kB / 0.8026 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.049e-05/0.02, allocations: 19.91 kB / 0.8026 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.02002, allocations: 4 kB / 0.8026 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.51e-05/0.02006, allocations: 149.5 kB / 0.8028 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of sort global known variables: time 4e-08/0.02006, allocations: 0 / 0.8028 GB, free: 12.18 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002277/0.02029, allocations: 67.94 kB / 0.8028 GB, free: 12.12 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.0001546/0.02044, allocations: 135.1 kB / 0.803 GB, free: 11.97 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.02061, allocations: 132.1 kB / 0.8031 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.02061, allocations: 0.625 kB / 0.8031 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.344e-05/0.02067, allocations: 76.27 kB / 0.8032 GB, free: 11.76 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.02096, allocations: 67.81 kB / 0.8032 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007964/0.02176, allocations: 366.5 kB / 0.8036 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.749e-05/0.0218, allocations: 68.84 kB / 0.8036 GB, free: 11.23 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.02195, allocations: 49.45 kB / 0.8037 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.02213, allocations: 150.1 kB / 0.8038 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of SimCode: time 7.61e-07/0.02213, allocations: 0 / 0.8038 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of Templates: time 0.005084/0.02722, allocations: 3.812 MB / 0.8076 GB, free: 7.305 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: 4.998745518736541]