Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 195.8 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.756/2.756, allocations: 437 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 63.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7078/0.7093, allocations: 151.6 MB / 1.017 GB, free: 2.48 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005363/0.7147, allocations: 4.052 MB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002474/0.7172, allocations: 2.418 MB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.13e-05/0.7173, allocations: 3.938 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002253/0.7175, allocations: 43.73 kB / 1.024 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002532/0.7178, allocations: 99.36 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.7189, allocations: 0.5273 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002639/0.7191, allocations: 267.8 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.7192, allocations: 5.562 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001766/0.7194, allocations: 119.7 kB / 1.025 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001253/0.7195, allocations: 95.59 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.687e-05/0.7195, allocations: 8 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007434/0.7203, allocations: 451.2 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.713e-05/0.7204, allocations: 43.88 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.45e-05/0.7205, allocations: 83.66 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005727/0.721, allocations: 409 kB / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.721, allocations: 0 / 1.026 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.565e-06/0.7211, allocations: 4 kB / 1.026 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.7211, allocations: 0 / 1.026 GB, free: 9.855 MB / 0.7794 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.0007007/0.7218, allocations: 0.507 MB / 1.026 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.958e-05/0.7218, allocations: 8.031 kB / 1.026 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001923/0.7237, allocations: 184.5 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.724, allocations: 212 kB / 1.027 GB, free: 8.867 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.724, allocations: 12.7 kB / 1.027 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.724, allocations: 12.38 kB / 1.027 GB, free: 8.844 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/0.7246, allocations: 308.4 kB / 1.027 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.7247, allocations: 3.938 kB / 1.027 GB, free: 8.504 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.7247, allocations: 12 kB / 1.027 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.7247, allocations: 7.938 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006921/0.7254, allocations: 263.6 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.7269, allocations: 1.377 MB / 1.028 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000647/0.7276, allocations: 192.4 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.7278, allocations: 80.81 kB / 1.029 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.7279, allocations: 7.984 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.356e-05/0.7279, allocations: 38.56 kB / 1.029 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 1.392e-06/0.7279, allocations: 0 / 1.029 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.0007744/0.7287, allocations: 245.2 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.7287, allocations: 59.34 kB / 1.029 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001304/0.7289, allocations: 157.1 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.009e-05/0.7289, allocations: 33.7 kB / 1.029 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.729, allocations: 120 kB / 1.029 GB, free: 5.766 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.729, allocations: 63.09 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.353e-05/0.7291, allocations: 57.83 kB / 1.029 GB, free: 5.637 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.7292, allocations: 326.8 kB / 1.03 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002201/0.7295, allocations: 64.41 kB / 1.03 GB, free: 5.246 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002674/0.7297, allocations: 143.3 kB / 1.03 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.7302, allocations: 219 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.7302, allocations: 8 kB / 1.03 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000584/0.7308, allocations: 242.7 kB / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.7309, allocations: 11.98 kB / 1.03 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.7309, allocations: 4 kB / 1.03 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.7309, allocations: 4.312 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000349/0.7313, allocations: 67.89 kB / 1.031 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.7313, allocations: 4 kB / 1.031 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.7315, allocations: 35.67 kB / 1.031 GB, free: 4.453 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.7315, allocations: 8 kB / 1.031 GB, free: 4.445 MB / 0.7794 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.0001169/0.7317, allocations: 129.7 kB / 1.031 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.7317, allocations: 19.81 kB / 1.031 GB, free: 4.289 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006322/0.7324, allocations: 228.4 kB / 1.031 GB, free: 4.059 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.7324, allocations: 4 kB / 1.031 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.7324, allocations: 0 / 1.031 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.7324, allocations: 7.969 kB / 1.031 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002588/0.7326, allocations: 245.4 kB / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.7327, allocations: 0 / 1.031 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.733, allocations: 55.83 kB / 1.031 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/0.733, allocations: 4 kB / 1.031 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.733, allocations: 0 / 1.031 GB, free: 3.699 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.733, allocations: 4 kB / 1.031 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.733, allocations: 0 / 1.031 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000543/0.7336, allocations: 300.5 kB / 1.032 GB, free: 3.387 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.7337, allocations: 112.8 kB / 1.032 GB, free: 3.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.7337, allocations: 4 kB / 1.032 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.734, allocations: 19.98 kB / 1.032 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.787e-05/0.734, allocations: 7.984 kB / 1.032 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.7341, allocations: 12 kB / 1.032 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.225e-05/0.7341, allocations: 113.3 kB / 1.032 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7341, allocations: 0 / 1.032 GB, free: 3.105 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003601/0.7345, allocations: 63.91 kB / 1.032 GB, free: 3.043 MB / 0.7794 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.0001876/0.7347, allocations: 139.3 kB / 1.032 GB, free: 2.898 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005514/0.7353, allocations: 196.3 kB / 1.032 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7353, allocations: 4 kB / 1.032 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002278/0.7355, allocations: 83.88 kB / 1.032 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005169/0.736, allocations: 69.55 kB / 1.032 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000889/0.7369, allocations: 399 kB / 1.033 GB, free: 2.141 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.7372, allocations: 0.7173 MB / 1.033 GB, free: 1.398 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0003416/0.7376, allocations: 49.92 kB / 1.033 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.7376, allocations: 39.36 kB / 1.033 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.7376, allocations: 0 / 1.033 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of Templates: time 0.006578/0.7442, allocations: 3.389 MB / 1.037 GB, free: 13.97 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches