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.0008968/0.0008968, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009306/0.0009306, allocations: 169 kB / 24.28 MB, free: 280 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.988/0.988, allocations: 177.1 MB / 204.6 MB, free: 5.602 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.844/1.844, allocations: 377.8 MB / 0.6239 GB, free: 8.531 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 3.206e-06/3.206e-06, allocations: 3.984 kB / 0.8115 GB, free: 2.055 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.471e-05, allocations: 5.125 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.005725/0.00575, allocations: 4.867 MB / 0.8163 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001939/0.007689, allocations: 2.816 MB / 0.8191 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.847e-05/0.007757, allocations: 1.094 kB / 0.8191 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002398/0.007997, allocations: 39.75 kB / 0.8191 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002143/0.008211, allocations: 105.5 kB / 0.8192 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006721/0.008883, allocations: 0.5377 MB / 0.8197 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.009072, allocations: 239.8 kB / 0.8199 GB, free: 9.457 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.009112, allocations: 9.812 kB / 0.82 GB, free: 9.445 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001819/0.009294, allocations: 160.6 kB / 0.8201 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001/0.009394, allocations: 79.77 kB / 0.8202 GB, free: 9.211 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.027e-05/0.009414, allocations: 9.094 kB / 0.8202 GB, free: 9.203 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003544/0.009768, allocations: 319.1 kB / 0.8205 GB, free: 8.891 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.264e-05/0.009831, allocations: 39.88 kB / 0.8205 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 5.615e-05/0.009887, allocations: 64.81 kB / 0.8206 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003911/0.01028, allocations: 362.8 kB / 0.8209 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.043e-06/0.01028, allocations: 1.625 kB / 0.8209 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.51e-07/0.01028, allocations: 0 / 0.8209 GB, free: 8.434 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.01029, allocations: 3.938 kB / 0.8209 GB, free: 8.43 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.0005594/0.01084, allocations: 0.5271 MB / 0.8215 GB, free: 7.863 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.01088, allocations: 16.53 kB / 0.8215 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.01104, allocations: 46.05 kB / 0.8215 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.01121, allocations: 160.3 kB / 0.8217 GB, free: 7.621 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.01122, allocations: 8.703 kB / 0.8217 GB, free: 7.613 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.01125, allocations: 25.02 kB / 0.8217 GB, free: 7.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.01154, allocations: 426.2 kB / 0.8221 GB, free: 7.094 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.01155, allocations: 8.781 kB / 0.8221 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.047e-05/0.01157, allocations: 16.05 kB / 0.8221 GB, free: 7.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.039e-05/0.0116, allocations: 12.66 kB / 0.8221 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002419/0.01184, allocations: 303.2 kB / 0.8224 GB, free: 6.766 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.01258, allocations: 0.9754 MB / 0.8234 GB, free: 5.734 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.01279, allocations: 132 kB / 0.8235 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.438e-05/0.01285, allocations: 47.66 kB / 0.8236 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000463/0.01332, allocations: 0.541 MB / 0.8241 GB, free: 4.984 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.01334, allocations: 37.39 kB / 0.8241 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.01334, allocations: 0 / 0.8241 GB, free: 4.938 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15): time 0.0002226/0.01356, allocations: 129.6 kB / 0.8242 GB, free: 4.805 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.506e-05/0.01359, allocations: 51.41 kB / 0.8243 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.01369, allocations: 221.5 kB / 0.8245 GB, free: 4.512 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.01371, allocations: 29.7 kB / 0.8245 GB, free: 4.477 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.008e-05/0.01378, allocations: 194.8 kB / 0.8247 GB, free: 4.281 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.787e-05/0.01381, allocations: 56.64 kB / 0.8248 GB, free: 4.227 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.01386, allocations: 55.36 kB / 0.8248 GB, free: 4.164 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.014, allocations: 0.5 MB / 0.8253 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.737e-05/0.01404, allocations: 25.89 kB / 0.8253 GB, free: 3.629 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.01414, allocations: 175 kB / 0.8255 GB, free: 3.391 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001625/0.0143, allocations: 225.5 kB / 0.8257 GB, free: 3.109 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.01431, allocations: 7.938 kB / 0.8257 GB, free: 3.102 MB / 0.7761 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002077/0.01452, allocations: 209.2 kB / 0.8259 GB, free: 2.891 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.01453, allocations: 4 kB / 0.8259 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.01454, allocations: 4 kB / 0.8259 GB, free: 2.883 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.01455, allocations: 8.469 kB / 0.8259 GB, free: 2.875 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.01466, allocations: 63.91 kB / 0.826 GB, free: 2.812 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.01467, allocations: 7.938 kB / 0.826 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.692e-05/0.01473, allocations: 19.84 kB / 0.826 GB, free: 2.785 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.01474, allocations: 16 kB / 0.8261 GB, free: 2.77 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 8.021e-05/0.01482, allocations: 180.4 kB / 0.8262 GB, free: 2.582 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.01485, allocations: 15.91 kB / 0.8262 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001965/0.01505, allocations: 136.4 kB / 0.8264 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.01506, allocations: 4 kB / 0.8264 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01506, allocations: 7.984 kB / 0.8264 GB, free: 2.418 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.01507, allocations: 3.938 kB / 0.8264 GB, free: 2.414 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001345/0.0152, allocations: 168.5 kB / 0.8265 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.0152, allocations: 0 / 0.8265 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.01526, allocations: 31.98 kB / 0.8266 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.01526, allocations: 0 / 0.8266 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.01527, allocations: 4 kB / 0.8266 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.01527, allocations: 0 / 0.8266 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01528, allocations: 0 / 0.8266 GB, free: 2.18 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001607/0.01544, allocations: 271.6 kB / 0.8268 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.119e-05/0.01548, allocations: 35.8 kB / 0.8269 GB, free: 1.859 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.01549, allocations: 4 kB / 0.8269 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.01557, allocations: 12 kB / 0.8269 GB, free: 1.844 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.0156, allocations: 19.95 kB / 0.8269 GB, free: 1.824 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.01561, allocations: 8 kB / 0.8269 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.01567, allocations: 151.4 kB / 0.8271 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01567, allocations: 0 / 0.8271 GB, free: 1.668 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002375/0.0159, allocations: 75.86 kB / 0.8271 GB, free: 1.594 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.0002205/0.01613, allocations: 183.1 kB / 0.8273 GB, free: 1.406 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.01628, allocations: 118.6 kB / 0.8274 GB, free: 1.289 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.758e-06/0.01629, allocations: 4 kB / 0.8274 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.01633, allocations: 43.61 kB / 0.8275 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.01658, allocations: 63.42 kB / 0.8275 GB, free: 1.18 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007261/0.01731, allocations: 323.1 kB / 0.8278 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.04e-05/0.01735, allocations: 75.98 kB / 0.8279 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 9.637e-05/0.01745, allocations: 33.36 kB / 0.8279 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.01748, allocations: 28.5 kB / 0.828 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of SimCode: time 8.61e-07/0.01748, allocations: 0 / 0.828 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of Templates: time 0.004764/0.02224, allocations: 3.161 MB / 0.8311 GB, free: 13.59 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: 4.9751176899299026]