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.0009935/0.0009935, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001032/0.001032, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9905/0.9905, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.508/2.508, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.684e-06/1.684e-06, allocations: 0 / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.269e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004483/0.004506, allocations: 4.282 MB / 0.8429 GB, free: 9.801 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.002092/0.006598, allocations: 2.593 MB / 0.8454 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.296e-05/0.006691, allocations: 0 / 0.8454 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.006969, allocations: 55.67 kB / 0.8454 GB, free: 7.145 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.007232, allocations: 115.2 kB / 0.8456 GB, free: 7.031 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.008558, allocations: 0.6221 MB / 0.8462 GB, free: 6.406 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.008881, allocations: 295.7 kB / 0.8464 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 4.181e-05/0.008923, allocations: 6.469 kB / 0.8464 GB, free: 6.113 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002332/0.009156, allocations: 171.6 kB / 0.8466 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.009275, allocations: 79.78 kB / 0.8467 GB, free: 5.867 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.259e-05/0.009298, allocations: 8 kB / 0.8467 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007144/0.01001, allocations: 438.9 kB / 0.8471 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.002e-05/0.01009, allocations: 47.81 kB / 0.8472 GB, free: 5.383 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.898e-05/0.01016, allocations: 59.89 kB / 0.8472 GB, free: 5.324 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005645/0.01073, allocations: 418.7 kB / 0.8476 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.01073, allocations: 0 / 0.8476 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01073, allocations: 0 / 0.8476 GB, free: 4.914 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.01074, allocations: 0 / 0.8476 GB, free: 4.914 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.0006234/0.01136, allocations: 423.6 kB / 0.848 GB, free: 4.473 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.0114, allocations: 12.62 kB / 0.848 GB, free: 4.461 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.01258, allocations: 260.2 kB / 0.8483 GB, free: 4.207 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.0128, allocations: 145.5 kB / 0.8484 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.01281, allocations: 12.7 kB / 0.8484 GB, free: 4.027 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.01284, allocations: 20.38 kB / 0.8485 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.01325, allocations: 477.9 kB / 0.8489 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.01327, allocations: 192 / 0.8489 GB, free: 3.453 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.0133, allocations: 12.12 kB / 0.8489 GB, free: 3.441 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.739e-05/0.01333, allocations: 4 kB / 0.8489 GB, free: 3.438 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000202/0.01353, allocations: 139.7 kB / 0.8491 GB, free: 3.301 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008645/0.01439, allocations: 1.074 MB / 0.8501 GB, free: 2.176 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.01461, allocations: 116.8 kB / 0.8502 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.01467, allocations: 48.75 kB / 0.8503 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.884e-05/0.01469, allocations: 0 / 0.8503 GB, free: 2.004 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.01471, allocations: 42.55 kB / 0.8503 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.01471, allocations: 0 / 0.8503 GB, free: 1.953 MB / 0.8073 GB Notification: Performance of matching and sorting (n=18): time 0.0002232/0.01494, allocations: 129.6 kB / 0.8504 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.01496, allocations: 55.41 kB / 0.8505 GB, free: 1.754 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.977e-05/0.01504, allocations: 140.6 kB / 0.8506 GB, free: 1.605 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.01506, allocations: 33.7 kB / 0.8506 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.785e-05/0.01513, allocations: 140.2 kB / 0.8508 GB, free: 1.422 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.01517, allocations: 71.3 kB / 0.8508 GB, free: 1.352 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/0.01524, allocations: 49.91 kB / 0.8509 GB, free: 1.293 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.312e-05/0.01533, allocations: 322.8 kB / 0.8512 GB, free: 0.9688 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.932e-05/0.01538, allocations: 28.45 kB / 0.8512 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.672e-05/0.01548, allocations: 102.3 kB / 0.8513 GB, free: 0.8086 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.01564, allocations: 162.2 kB / 0.8515 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.01564, allocations: 0 / 0.8515 GB, free: 0.6172 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001943/0.01584, allocations: 161.4 kB / 0.8516 GB, free: 464 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.01586, allocations: 11.94 kB / 0.8516 GB, free: 452 kB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.01586, allocations: 8 kB / 0.8517 GB, free: 444 kB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.01588, allocations: 3.938 kB / 0.8517 GB, free: 440 kB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.01611, allocations: 76.19 kB / 0.8517 GB, free: 364 kB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.01612, allocations: 7.938 kB / 0.8517 GB, free: 356 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.489e-05/0.01622, allocations: 31.83 kB / 0.8518 GB, free: 324 kB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.01623, allocations: 4 kB / 0.8518 GB, free: 320 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 8.378e-05/0.01631, allocations: 132.6 kB / 0.8519 GB, free: 176 kB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.486e-05/0.01635, allocations: 15.98 kB / 0.8519 GB, free: 160 kB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001946/0.01654, allocations: 148.7 kB / 0.8521 GB, free: 8 kB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.01655, allocations: 7.938 kB / 0.8521 GB, free: 0 / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.01655, allocations: 0 / 0.8521 GB, free: 0 / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.322e-05/0.01657, allocations: 4.047 kB / 0.8521 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.01672, allocations: 117.7 kB / 0.8522 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01672, allocations: 0 / 0.8522 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.01689, allocations: 63.89 kB / 0.8522 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.01689, allocations: 0 / 0.8522 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.0169, allocations: 3.984 kB / 0.8522 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.0169, allocations: 4 kB / 0.8523 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01691, allocations: 0 / 0.8523 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.01707, allocations: 211.4 kB / 0.8525 GB, free: 15.57 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.442e-05/0.01711, allocations: 23.83 kB / 0.8525 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.01713, allocations: 4 kB / 0.8525 GB, free: 15.54 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.01724, allocations: 19.98 kB / 0.8525 GB, free: 15.52 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.01726, allocations: 11.92 kB / 0.8525 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.01728, allocations: 15.92 kB / 0.8525 GB, free: 15.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.501e-05/0.0173, allocations: 27.33 kB / 0.8525 GB, free: 15.47 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.0173, allocations: 0 / 0.8525 GB, free: 15.47 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002452/0.01755, allocations: 71.89 kB / 0.8526 GB, free: 15.4 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.0001866/0.01773, allocations: 112.3 kB / 0.8527 GB, free: 15.28 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001795/0.01791, allocations: 121.6 kB / 0.8528 GB, free: 15.16 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.01792, allocations: 0 / 0.8528 GB, free: 15.16 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 5.92e-05/0.01798, allocations: 57.34 kB / 0.8529 GB, free: 15.1 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.01826, allocations: 79.91 kB / 0.853 GB, free: 15.02 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007612/0.01902, allocations: 386.2 kB / 0.8533 GB, free: 14.61 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.322e-05/0.01907, allocations: 68.84 kB / 0.8534 GB, free: 14.53 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001733/0.01924, allocations: 49.45 kB / 0.8535 GB, free: 14.48 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001981/0.01944, allocations: 123.3 kB / 0.8536 GB, free: 14.36 MB / 0.823 GB Notification: Performance of SimCode: time 7.42e-07/0.01944, allocations: 0 / 0.8536 GB, free: 14.36 MB / 0.823 GB Notification: Performance of Templates: time 0.005592/0.02503, allocations: 3.802 MB / 0.8573 GB, free: 10.67 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 -s gbode -gbm=radauIIA3 -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.656917036045343]