Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009964/0.0009964, allocations: 80.94 kB / 19.94 MB, free: 4.547 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: 177 kB / 23.36 MB, free: 1.133 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.9381/0.9381, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.356/2.356, allocations: 438.8 MB / 0.6826 GB, free: 13.6 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.045e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.003977/0.003997, allocations: 4.233 MB / 0.8428 GB, free: 9.918 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001925/0.005922, allocations: 2.597 MB / 0.8453 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.005989, allocations: 0 / 0.8453 GB, free: 7.312 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.006222, allocations: 47.69 kB / 0.8453 GB, free: 7.266 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002364/0.006458, allocations: 119.2 kB / 0.8455 GB, free: 7.148 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.007475, allocations: 0.6378 MB / 0.8461 GB, free: 6.508 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002549/0.00773, allocations: 291.8 kB / 0.8464 GB, free: 6.223 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 3.349e-05/0.007764, allocations: 10.41 kB / 0.8464 GB, free: 6.215 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.007956, allocations: 167.6 kB / 0.8465 GB, free: 6.051 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.008061, allocations: 79.77 kB / 0.8466 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.00808, allocations: 8 kB / 0.8466 GB, free: 5.965 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000491/0.008571, allocations: 426.9 kB / 0.847 GB, free: 5.547 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.409e-05/0.008635, allocations: 43.89 kB / 0.8471 GB, free: 5.504 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.543e-05/0.00869, allocations: 59.91 kB / 0.8471 GB, free: 5.445 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0004581/0.009148, allocations: 414.7 kB / 0.8475 GB, free: 5.039 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.009151, allocations: 4 kB / 0.8475 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.184e-06/0.009153, allocations: 3.984 kB / 0.8475 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.096e-06/0.009156, allocations: 0 / 0.8475 GB, free: 5.031 MB / 0.8073 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.0005336/0.00969, allocations: 419.6 kB / 0.8479 GB, free: 4.594 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.009722, allocations: 8.625 kB / 0.8479 GB, free: 4.586 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009726/0.01069, allocations: 268.1 kB / 0.8482 GB, free: 4.324 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.01087, allocations: 141.5 kB / 0.8483 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.01088, allocations: 12.64 kB / 0.8483 GB, free: 4.148 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.01091, allocations: 20.38 kB / 0.8484 GB, free: 4.129 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003229/0.01124, allocations: 470 kB / 0.8488 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.01124, allocations: 4.188 kB / 0.8488 GB, free: 3.578 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.01127, allocations: 12.12 kB / 0.8488 GB, free: 3.566 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.01128, allocations: 4 kB / 0.8488 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001569/0.01144, allocations: 135.7 kB / 0.8489 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007653/0.01221, allocations: 1.078 MB / 0.85 GB, free: 2.301 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.01241, allocations: 118.4 kB / 0.8501 GB, free: 2.176 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.788e-05/0.01246, allocations: 44.75 kB / 0.8502 GB, free: 2.129 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.01248, allocations: 4 kB / 0.8502 GB, free: 2.125 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.0125, allocations: 42.56 kB / 0.8502 GB, free: 2.074 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.01251, allocations: 0 / 0.8502 GB, free: 2.074 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0002068/0.01271, allocations: 135.4 kB / 0.8503 GB, free: 1.938 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.01274, allocations: 55.34 kB / 0.8504 GB, free: 1.871 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.708e-05/0.01282, allocations: 149.4 kB / 0.8505 GB, free: 1.715 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.01284, allocations: 25.7 kB / 0.8506 GB, free: 1.684 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.914e-05/0.0129, allocations: 136.2 kB / 0.8507 GB, free: 1.543 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.624e-05/0.01294, allocations: 71.36 kB / 0.8507 GB, free: 1.473 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.693e-05/0.013, allocations: 49.92 kB / 0.8508 GB, free: 1.414 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.851e-05/0.01309, allocations: 326.8 kB / 0.8511 GB, free: 1.086 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.007e-05/0.01313, allocations: 28.45 kB / 0.8511 GB, free: 1.059 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.0132, allocations: 102.3 kB / 0.8512 GB, free: 0.9258 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.01333, allocations: 167.9 kB / 0.8514 GB, free: 0.7266 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.01333, allocations: 0 / 0.8514 GB, free: 0.7266 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001627/0.01349, allocations: 160.1 kB / 0.8515 GB, free: 0.5664 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.0135, allocations: 7.938 kB / 0.8516 GB, free: 0.5586 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.01351, allocations: 4 kB / 0.8516 GB, free: 0.5547 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.01352, allocations: 11.94 kB / 0.8516 GB, free: 0.543 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001631/0.01369, allocations: 67.89 kB / 0.8516 GB, free: 488 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.01369, allocations: 4 kB / 0.8516 GB, free: 484 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.374e-05/0.01378, allocations: 27.83 kB / 0.8517 GB, free: 456 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.0138, allocations: 8 kB / 0.8517 GB, free: 448 kB / 0.8073 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.567e-05/0.01387, allocations: 128.9 kB / 0.8518 GB, free: 308 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.0139, allocations: 15.98 kB / 0.8518 GB, free: 292 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.01408, allocations: 150.6 kB / 0.852 GB, free: 136 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01409, allocations: 3.938 kB / 0.852 GB, free: 132 kB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.01409, allocations: 0 / 0.852 GB, free: 132 kB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.01409, allocations: 0 / 0.852 GB, free: 132 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001401/0.01423, allocations: 121.8 kB / 0.8521 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01423, allocations: 0 / 0.8521 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.01435, allocations: 47.81 kB / 0.8521 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.01435, allocations: 0 / 0.8521 GB, free: 15.95 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.01436, allocations: 11.98 kB / 0.8521 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01437, allocations: 4 kB / 0.8521 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.01437, allocations: 0 / 0.8521 GB, free: 15.93 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001488/0.01452, allocations: 221.2 kB / 0.8523 GB, free: 15.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.278e-05/0.01456, allocations: 23.83 kB / 0.8524 GB, free: 15.68 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.01458, allocations: 4 kB / 0.8524 GB, free: 15.67 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.135e-05/0.01467, allocations: 15.98 kB / 0.8524 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.01471, allocations: 11.92 kB / 0.8524 GB, free: 15.64 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.01473, allocations: 7.984 kB / 0.8524 GB, free: 15.64 MB / 0.823 GB Notification: Performance of sorting global known variables: time 3.009e-05/0.01476, allocations: 28.83 kB / 0.8524 GB, free: 15.61 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.01476, allocations: 4 kB / 0.8524 GB, free: 15.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002147/0.01497, allocations: 71.89 kB / 0.8525 GB, free: 15.53 MB / 0.823 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.0001469/0.01512, allocations: 116 kB / 0.8526 GB, free: 15.41 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001526/0.01527, allocations: 116.6 kB / 0.8527 GB, free: 15.29 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.01528, allocations: 4 kB / 0.8527 GB, free: 15.29 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/0.01533, allocations: 65.91 kB / 0.8528 GB, free: 15.22 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.01558, allocations: 76.53 kB / 0.8529 GB, free: 15.15 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006477/0.01623, allocations: 375.7 kB / 0.8532 GB, free: 14.75 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.881e-05/0.01627, allocations: 80.83 kB / 0.8533 GB, free: 14.65 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001422/0.01641, allocations: 45.45 kB / 0.8533 GB, free: 14.61 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.01658, allocations: 123.3 kB / 0.8535 GB, free: 14.49 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.01658, allocations: 0 / 0.8535 GB, free: 14.49 MB / 0.823 GB Notification: Performance of Templates: time 0.00469/0.02127, allocations: 3.794 MB / 0.8572 GB, free: 10.81 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.445390432141721]