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.001397/0.001397, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001913/0.001913, allocations: 165 kB / 23.82 MB, free: 0.75 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 1.038/1.038, allocations: 177.1 MB / 204.2 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.847/1.847, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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 2.474e-06/2.474e-06, allocations: 0 / 0.8116 GB, free: 1.691 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.236e-05/3.484e-05, allocations: 2.312 kB / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.007201/0.007236, allocations: 4.876 MB / 0.8163 GB, free: 12.81 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003195/0.01043, allocations: 2.829 MB / 0.8191 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.01057, allocations: 0 / 0.8191 GB, free: 9.988 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.01093, allocations: 56.58 kB / 0.8191 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0003942/0.01133, allocations: 109.1 kB / 0.8192 GB, free: 9.828 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.013, allocations: 0.5719 MB / 0.8198 GB, free: 9.258 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003735/0.01337, allocations: 249.1 kB / 0.82 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.01343, allocations: 9.812 kB / 0.82 GB, free: 9 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.01374, allocations: 155.6 kB / 0.8202 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.01391, allocations: 80.33 kB / 0.8203 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.205e-05/0.01394, allocations: 8.625 kB / 0.8203 GB, free: 8.762 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007706/0.01471, allocations: 335.1 kB / 0.8206 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.041e-05/0.0148, allocations: 33.72 kB / 0.8206 GB, free: 8.402 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.61e-05/0.01489, allocations: 67.81 kB / 0.8207 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007622/0.01565, allocations: 362.9 kB / 0.821 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.01566, allocations: 0 / 0.821 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.443e-06/0.01566, allocations: 0.875 kB / 0.821 GB, free: 7.98 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.01566, allocations: 0 / 0.821 GB, free: 7.98 MB / 0.7761 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.0008911/0.01656, allocations: 0.5305 MB / 0.8216 GB, free: 7.414 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.0166, allocations: 16.02 kB / 0.8216 GB, free: 7.398 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002415/0.01684, allocations: 44.72 kB / 0.8216 GB, free: 7.355 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.0171, allocations: 160.3 kB / 0.8218 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.362e-05/0.01712, allocations: 12.69 kB / 0.8218 GB, free: 7.16 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/0.01716, allocations: 20.38 kB / 0.8218 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004308/0.01759, allocations: 438.1 kB / 0.8222 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.0176, allocations: 192 / 0.8222 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.525e-05/0.01763, allocations: 8.125 kB / 0.8222 GB, free: 6.625 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.347e-05/0.01767, allocations: 8.594 kB / 0.8222 GB, free: 6.617 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003781/0.01805, allocations: 301.8 kB / 0.8225 GB, free: 6.324 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.01917, allocations: 0.9909 MB / 0.8235 GB, free: 5.277 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.01948, allocations: 129.1 kB / 0.8236 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.848e-05/0.01957, allocations: 47.72 kB / 0.8237 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007273/0.0203, allocations: 0.5296 MB / 0.8242 GB, free: 4.543 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.02033, allocations: 41.39 kB / 0.8242 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.02033, allocations: 0 / 0.8242 GB, free: 4.492 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0003251/0.02066, allocations: 141.4 kB / 0.8244 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.02069, allocations: 51.41 kB / 0.8244 GB, free: 4.285 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.02085, allocations: 223.5 kB / 0.8246 GB, free: 4.055 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.582e-05/0.02087, allocations: 29.7 kB / 0.8246 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.02098, allocations: 194.8 kB / 0.8248 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.02102, allocations: 51.53 kB / 0.8249 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.02109, allocations: 55.36 kB / 0.8249 GB, free: 3.711 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.02126, allocations: 0.5 MB / 0.8254 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.558e-05/0.02133, allocations: 23.98 kB / 0.8254 GB, free: 3.176 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001551/0.02149, allocations: 174.9 kB / 0.8256 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.02174, allocations: 230.9 kB / 0.8258 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.02174, allocations: 4 kB / 0.8258 GB, free: 2.648 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003341/0.02208, allocations: 208 kB / 0.826 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.0221, allocations: 4.875 kB / 0.826 GB, free: 2.438 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.02211, allocations: 4 kB / 0.826 GB, free: 2.434 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.242e-05/0.02213, allocations: 9.094 kB / 0.826 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.02232, allocations: 59.91 kB / 0.8261 GB, free: 2.367 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.02233, allocations: 4 kB / 0.8261 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.02243, allocations: 28.8 kB / 0.8261 GB, free: 2.336 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.02245, allocations: 15.94 kB / 0.8261 GB, free: 2.32 MB / 0.7761 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 0.000109/0.02256, allocations: 181.1 kB / 0.8263 GB, free: 2.133 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.02261, allocations: 23.31 kB / 0.8263 GB, free: 2.113 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/0.02289, allocations: 136.5 kB / 0.8265 GB, free: 1.977 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/0.02291, allocations: 7.984 kB / 0.8265 GB, free: 1.969 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.02291, allocations: 0 / 0.8265 GB, free: 1.969 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.02292, allocations: 0 / 0.8265 GB, free: 1.969 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000219/0.02314, allocations: 164.5 kB / 0.8266 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.02314, allocations: 0 / 0.8266 GB, free: 1.773 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.02324, allocations: 31.92 kB / 0.8267 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.02324, allocations: 0 / 0.8267 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.02326, allocations: 8.469 kB / 0.8267 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.02326, allocations: 0 / 0.8267 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.02326, allocations: 4 kB / 0.8267 GB, free: 1.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.0235, allocations: 259.8 kB / 0.8269 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.718e-05/0.02357, allocations: 35.8 kB / 0.827 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.02359, allocations: 4 kB / 0.827 GB, free: 1.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/0.02373, allocations: 11.94 kB / 0.827 GB, free: 1.406 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.02376, allocations: 15.97 kB / 0.827 GB, free: 1.391 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.02379, allocations: 12 kB / 0.827 GB, free: 1.379 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.897e-05/0.02387, allocations: 150.2 kB / 0.8271 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.02387, allocations: 0 / 0.8271 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004718/0.02434, allocations: 75.81 kB / 0.8272 GB, free: 1.16 MB / 0.7761 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.0003716/0.02471, allocations: 195 kB / 0.8274 GB, free: 0.9609 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.02497, allocations: 111.4 kB / 0.8275 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.02497, allocations: 0 / 0.8275 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.02503, allocations: 49.7 kB / 0.8276 GB, free: 0.7969 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.02535, allocations: 56.7 kB / 0.8276 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007967/0.02615, allocations: 315.2 kB / 0.8279 GB, free: 416 kB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.111e-05/0.02619, allocations: 71.98 kB / 0.828 GB, free: 324 kB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.02629, allocations: 41.41 kB / 0.828 GB, free: 280 kB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.02632, allocations: 28.48 kB / 0.8281 GB, free: 252 kB / 0.7761 GB Notification: Performance of SimCode: time 7.61e-07/0.02632, allocations: 0 / 0.8281 GB, free: 252 kB / 0.7761 GB Notification: Performance of Templates: time 0.005173/0.0315, allocations: 3.465 MB / 0.8314 GB, free: 12.85 MB / 0.7917 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.151052402332425]