Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001401/0.001401, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001445/0.001445, allocations: 165 kB / 24.16 MB, free: 336 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.996/0.996, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.852/1.852, allocations: 377.9 MB / 0.624 GB, free: 8.344 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.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_12_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_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.7601 GB, free: 6.566 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.126e-05, allocations: 2.312 kB / 0.7601 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.00427/0.004291, allocations: 4.236 MB / 0.7642 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.006374, allocations: 2.595 MB / 0.7667 GB, free: 15.76 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.00646, allocations: 6 kB / 0.7667 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.00671, allocations: 51.62 kB / 0.7668 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.006964, allocations: 118 kB / 0.7669 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.008161, allocations: 0.6404 MB / 0.7675 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.008454, allocations: 295.6 kB / 0.7678 GB, free: 14.66 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.008495, allocations: 14.95 kB / 0.7678 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.008717, allocations: 166.8 kB / 0.768 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.008829, allocations: 83.75 kB / 0.7681 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.00885, allocations: 8 kB / 0.7681 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005791/0.009429, allocations: 419 kB / 0.7685 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.009507, allocations: 39.89 kB / 0.7685 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.926e-05/0.009577, allocations: 63.83 kB / 0.7686 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005109/0.01009, allocations: 410.8 kB / 0.769 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.01009, allocations: 3.938 kB / 0.769 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.283e-06/0.01009, allocations: 2.438 kB / 0.769 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.0101, allocations: 0 / 0.769 GB, free: 13.48 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.0006399/0.01074, allocations: 428 kB / 0.7694 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.01077, allocations: 8.031 kB / 0.7694 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001014/0.01178, allocations: 272.8 kB / 0.7696 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.01196, allocations: 137.5 kB / 0.7698 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.01197, allocations: 16.64 kB / 0.7698 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.012, allocations: 16.38 kB / 0.7698 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.01231, allocations: 465.9 kB / 0.7702 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.01232, allocations: 4.188 kB / 0.7703 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.01234, allocations: 15.52 kB / 0.7703 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.01235, allocations: 8 kB / 0.7703 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001646/0.01251, allocations: 139.7 kB / 0.7704 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007673/0.01328, allocations: 1.081 MB / 0.7715 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.01347, allocations: 114.5 kB / 0.7716 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.203e-05/0.01352, allocations: 40.81 kB / 0.7716 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.01354, allocations: 7.984 kB / 0.7716 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.01356, allocations: 38.56 kB / 0.7717 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 1.002e-06/0.01356, allocations: 0 / 0.7717 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.00018/0.01374, allocations: 143.1 kB / 0.7718 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.01376, allocations: 55.41 kB / 0.7718 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.8e-05/0.01383, allocations: 136.5 kB / 0.772 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/0.01385, allocations: 34.55 kB / 0.772 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.0139, allocations: 128.2 kB / 0.7721 GB, free: 10 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.01393, allocations: 71.39 kB / 0.7722 GB, free: 9.93 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.963e-05/0.01399, allocations: 51.88 kB / 0.7722 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.214e-05/0.01407, allocations: 322.8 kB / 0.7726 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.835e-05/0.0141, allocations: 28.45 kB / 0.7726 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.07e-05/0.01417, allocations: 107.5 kB / 0.7727 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.0143, allocations: 164.9 kB / 0.7728 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01431, allocations: 4 kB / 0.7728 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001636/0.01447, allocations: 161.9 kB / 0.773 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/0.01448, allocations: 9.438 kB / 0.773 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.01448, allocations: 0 / 0.773 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.01449, allocations: 7.938 kB / 0.773 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.01465, allocations: 69.05 kB / 0.7731 GB, free: 8.945 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.01465, allocations: 4 kB / 0.7731 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.204e-05/0.01474, allocations: 27.88 kB / 0.7731 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.01476, allocations: 8.938 kB / 0.7731 GB, free: 8.906 MB / 0.7292 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.385e-05/0.01483, allocations: 124.6 kB / 0.7732 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.01486, allocations: 20.58 kB / 0.7733 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.01504, allocations: 142 kB / 0.7734 GB, free: 8.609 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.01504, allocations: 9.125 kB / 0.7734 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.01504, allocations: 0 / 0.7734 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.01504, allocations: 0 / 0.7734 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.01518, allocations: 126.9 kB / 0.7735 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.01519, allocations: 7.938 kB / 0.7735 GB, free: 8.453 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.01531, allocations: 48.91 kB / 0.7736 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01531, allocations: 0 / 0.7736 GB, free: 8.406 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.01532, allocations: 3.984 kB / 0.7736 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.01532, allocations: 0.7188 kB / 0.7736 GB, free: 8.402 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.01532, allocations: 4 kB / 0.7736 GB, free: 8.398 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.01547, allocations: 215.4 kB / 0.7738 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.01551, allocations: 27.86 kB / 0.7738 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.01553, allocations: 4 kB / 0.7738 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.651e-05/0.01563, allocations: 17.02 kB / 0.7738 GB, free: 8.129 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.01564, allocations: 11.92 kB / 0.7739 GB, free: 8.117 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.01566, allocations: 8.922 kB / 0.7739 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.2e-05/0.01568, allocations: 26.25 kB / 0.7739 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01568, allocations: 0 / 0.7739 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000216/0.0159, allocations: 73.02 kB / 0.774 GB, free: 8.012 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 (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.000145/0.01604, allocations: 119.4 kB / 0.7741 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001552/0.0162, allocations: 122.7 kB / 0.7742 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.0162, allocations: 0.9375 kB / 0.7742 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.01625, allocations: 52.78 kB / 0.7742 GB, free: 7.715 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.0165, allocations: 82.05 kB / 0.7743 GB, free: 7.641 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000659/0.01716, allocations: 366.8 kB / 0.7747 GB, free: 7.262 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.115e-05/0.0172, allocations: 76.69 kB / 0.7747 GB, free: 7.168 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001735/0.01738, allocations: 46.31 kB / 0.7748 GB, free: 7.145 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.01756, allocations: 131.2 kB / 0.7749 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of SimCode: time 4.91e-07/0.01756, allocations: 1.719 kB / 0.7749 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of Templates: time 0.005248/0.02281, allocations: 3.797 MB / 0.7786 GB, free: 3.379 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.187987330835313]