Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterProperties.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.0009412/0.0009412, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001013/0.001013, allocations: 161 kB / 24.17 MB, free: 324 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 0.9449/0.9449, allocations: 177.1 MB / 204.6 MB, free: 5.027 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.873/1.873, allocations: 377.9 MB / 0.624 GB, free: 8.379 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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.Examples.WaterProperties,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_12_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,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_12_Buildings.Media.Examples.WaterProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.76 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.12e-05/2.278e-05, allocations: 2.312 kB / 0.76 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004506/0.004528, allocations: 4.883 MB / 0.7648 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002206/0.006734, allocations: 2.855 MB / 0.7676 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.911e-05/0.006813, allocations: 0 / 0.7676 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002446/0.007058, allocations: 48.44 kB / 0.7676 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.007283, allocations: 100.7 kB / 0.7677 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008947/0.008178, allocations: 0.5781 MB / 0.7683 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000198/0.008376, allocations: 247.8 kB / 0.7685 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.008417, allocations: 14.47 kB / 0.7685 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001964/0.008613, allocations: 163.5 kB / 0.7687 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001043/0.008717, allocations: 75.83 kB / 0.7688 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.008737, allocations: 12.44 kB / 0.7688 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004249/0.009162, allocations: 324.7 kB / 0.7691 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.009227, allocations: 47.81 kB / 0.7691 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.853e-05/0.009275, allocations: 55.91 kB / 0.7692 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.009663, allocations: 362.8 kB / 0.7695 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.009667, allocations: 0.5 kB / 0.7695 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.91e-07/0.009667, allocations: 0 / 0.7695 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.557e-06/0.009671, allocations: 5.469 kB / 0.7695 GB, free: 12.88 MB / 0.7292 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.0004952/0.01017, allocations: 416 kB / 0.7699 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.0102, allocations: 12.03 kB / 0.77 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.01031, allocations: 46.16 kB / 0.77 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001483/0.01046, allocations: 149.5 kB / 0.7701 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.01047, allocations: 16.7 kB / 0.7702 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.037e-05/0.01049, allocations: 16.97 kB / 0.7702 GB, free: 12.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.01073, allocations: 411.2 kB / 0.7706 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.01074, allocations: 192 / 0.7706 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.664e-05/0.01076, allocations: 16.94 kB / 0.7706 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/0.01079, allocations: 8 kB / 0.7706 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.01098, allocations: 249 kB / 0.7708 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.01157, allocations: 0.6787 MB / 0.7715 GB, free: 10.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.01173, allocations: 158.9 kB / 0.7716 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.01176, allocations: 37.44 kB / 0.7717 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000425/0.01219, allocations: 476.2 kB / 0.7721 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.01221, allocations: 34.56 kB / 0.7722 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 1.072e-06/0.01221, allocations: 0 / 0.7722 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.0001535/0.01237, allocations: 130.2 kB / 0.7723 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.01239, allocations: 55.41 kB / 0.7723 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.954e-05/0.01247, allocations: 169.2 kB / 0.7725 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.01248, allocations: 29.7 kB / 0.7725 GB, free: 9.602 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.01255, allocations: 149.2 kB / 0.7727 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.01257, allocations: 55.56 kB / 0.7727 GB, free: 9.398 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.01287, allocations: 61.62 kB / 0.7728 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.01294, allocations: 326.8 kB / 0.7731 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.331e-05/0.01296, allocations: 19.77 kB / 0.7731 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.664e-05/0.01303, allocations: 133.6 kB / 0.7732 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.01314, allocations: 180.8 kB / 0.7734 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.988e-06/0.01315, allocations: 4 kB / 0.7734 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001412/0.01329, allocations: 155.5 kB / 0.7736 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.0133, allocations: 4 kB / 0.7736 GB, free: 8.422 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.01331, allocations: 4 kB / 0.7736 GB, free: 8.418 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.01332, allocations: 8 kB / 0.7736 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.01343, allocations: 63.84 kB / 0.7736 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01343, allocations: 4 kB / 0.7736 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.01349, allocations: 28.41 kB / 0.7737 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.0135, allocations: 12 kB / 0.7737 GB, free: 8.305 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 6.717e-05/0.01356, allocations: 140.2 kB / 0.7738 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.01359, allocations: 15.98 kB / 0.7738 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00015/0.01374, allocations: 116.8 kB / 0.7739 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/0.01375, allocations: 4 kB / 0.7739 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01375, allocations: 0 / 0.7739 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01375, allocations: 0 / 0.7739 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001161/0.01387, allocations: 105.8 kB / 0.774 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.01387, allocations: 3.938 kB / 0.7741 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.01393, allocations: 31.02 kB / 0.7741 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.01393, allocations: 3.984 kB / 0.7741 GB, free: 7.867 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.01394, allocations: 8 kB / 0.7741 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01394, allocations: 0 / 0.7741 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01394, allocations: 0 / 0.7741 GB, free: 7.859 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.01406, allocations: 226.2 kB / 0.7743 GB, free: 7.621 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.857e-05/0.0141, allocations: 31.8 kB / 0.7743 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.277e-05/0.01411, allocations: 4 kB / 0.7743 GB, free: 7.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/0.01419, allocations: 8.781 kB / 0.7744 GB, free: 7.578 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.599e-05/0.0142, allocations: 7.984 kB / 0.7744 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.01422, allocations: 12.83 kB / 0.7744 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.862e-05/0.01425, allocations: 35.12 kB / 0.7744 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01425, allocations: 0 / 0.7744 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002263/0.01447, allocations: 88.84 kB / 0.7745 GB, free: 7.438 MB / 0.7292 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002201/0.01469, allocations: 165.2 kB / 0.7746 GB, free: 7.273 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001246/0.01482, allocations: 94.39 kB / 0.7747 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.01483, allocations: 4.938 kB / 0.7747 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/0.01485, allocations: 39.88 kB / 0.7748 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002056/0.01506, allocations: 45.92 kB / 0.7748 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.01568, allocations: 331.8 kB / 0.7751 GB, free: 6.746 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.77e-05/0.01572, allocations: 68 kB / 0.7752 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 9e-05/0.01581, allocations: 46.67 kB / 0.7752 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/0.01595, allocations: 121.3 kB / 0.7754 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of SimCode: time 5.1e-07/0.01595, allocations: 0 / 0.7754 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of Templates: time 0.004886/0.02084, allocations: 3.441 MB / 0.7787 GB, free: 3.199 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_12_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterProperties.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.056459521874785]