Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.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.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001278/0.001279, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.46/2.46, allocations: 409.2 MB / 0.6838 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 8 kB / 0.8375 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6528/0.6532, allocations: 146.8 MB / 0.9809 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.05442/0.7076, allocations: 46.85 MB / 1.027 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02428/0.732, allocations: 15.55 MB / 1.042 GB, free: 7.691 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002626/0.7346, allocations: 67.56 kB / 1.042 GB, free: 7.625 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002709/0.7374, allocations: 0.8123 MB / 1.043 GB, free: 6.809 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.007102/0.7445, allocations: 2.157 MB / 1.045 GB, free: 4.648 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004727/0.7492, allocations: 1.585 MB / 1.046 GB, free: 3.086 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.01467/0.7639, allocations: 11.43 MB / 1.057 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009773/0.7737, allocations: 7.151 MB / 1.064 GB, free: 420 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009007/0.7828, allocations: 4.477 MB / 1.069 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007677/0.7905, allocations: 3.851 MB / 1.073 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001769/0.7923, allocations: 348 kB / 1.073 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005145/0.7975, allocations: 0.8391 MB / 1.074 GB, free: 6.871 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003051/0.8005, allocations: 1.464 MB / 1.075 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004361/0.8049, allocations: 1.615 MB / 1.077 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.819, allocations: 10.26 MB / 1.087 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.8191, allocations: 0 / 1.087 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.016e-06/0.8191, allocations: 0 / 1.087 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0005207/0.8196, allocations: 0 / 1.087 GB, free: 9.488 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1564 * Number of variables: 1564 Notification: Performance of Generate backend data structure: time 0.01919/0.8388, allocations: 6.952 MB / 1.094 GB, free: 2.445 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.8389, allocations: 12.03 kB / 1.094 GB, free: 2.434 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003119/0.842, allocations: 0.8381 MB / 1.094 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/0.8463, allocations: 0.8578 MB / 1.095 GB, free: 0.7188 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01413/0.8605, allocations: 6.028 MB / 1.101 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004553/0.861, allocations: 460.2 kB / 1.102 GB, free: 10.18 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/0.8629, allocations: 0.5975 MB / 1.102 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01873/0.8816, allocations: 8.934 MB / 1.111 GB, free: 332 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/0.8818, allocations: 19.88 kB / 1.111 GB, free: 312 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000775/0.8826, allocations: 264 kB / 1.111 GB, free: 48 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001967/0.8828, allocations: 183.9 kB / 1.111 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.8978, allocations: 7.414 MB / 1.119 GB, free: 8.445 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05328/0.9512, allocations: 36.21 MB / 1.154 GB, free: 2.168 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006879/0.9581, allocations: 4.342 MB / 1.158 GB, free: 13.84 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/0.9595, allocations: 0.9855 MB / 1.159 GB, free: 12.67 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00399/0.9635, allocations: 2.39 MB / 1.161 GB, free: 10.24 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003099/0.9666, allocations: 479.4 kB / 1.162 GB, free: 9.77 MB / 0.92 GB Notification: Performance of pre-optimization done (n=317): time 7.203e-06/0.9667, allocations: 0 / 1.162 GB, free: 9.77 MB / 0.92 GB Notification: Performance of matching and sorting (n=317): time 0.01293/0.9796, allocations: 7.145 MB / 1.169 GB, free: 2.531 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/0.9797, allocations: 89.84 kB / 1.169 GB, free: 2.43 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008851/0.9886, allocations: 5.842 MB / 1.175 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000766/0.9894, allocations: 85.7 kB / 1.175 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.003158/0.9925, allocations: 3.192 MB / 1.178 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.00169/0.9943, allocations: 1.121 MB / 1.179 GB, free: 8.156 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.9945, allocations: 88 kB / 1.179 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0003/0.9948, allocations: 491.6 kB / 1.18 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003432/0.9982, allocations: 2.167 MB / 1.182 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00432/1.003, allocations: 3.674 MB / 1.185 GB, free: 1.035 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004297/1.007, allocations: 2.927 MB / 1.188 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.744e-05/1.007, allocations: 12 kB / 1.188 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01218/1.019, allocations: 6.768 MB / 1.195 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001022/1.019, allocations: 57.73 kB / 1.195 GB, free: 7.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.511e-05/1.019, allocations: 48 kB / 1.195 GB, free: 7.145 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/1.02, allocations: 442.7 kB / 1.195 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00417/1.025, allocations: 1.057 MB / 1.196 GB, free: 5.648 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005825/1.03, allocations: 5.327 MB / 1.201 GB, free: 56 kB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005768/1.036, allocations: 482.7 kB / 1.202 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007855/1.037, allocations: 220 kB / 1.202 GB, free: 15.37 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 222 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,dHTan.local_reset,dHTanEnh.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (540): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00483/1.042, allocations: 2.483 MB / 1.205 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/1.043, allocations: 0.5248 MB / 1.205 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00907/1.053, allocations: 5.282 MB / 1.21 GB, free: 7 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.902e-05/1.053, allocations: 44.02 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-05/1.053, allocations: 8.703 kB / 1.21 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006909/1.06, allocations: 4.555 MB / 1.215 GB, free: 2.289 MB / 0.9669 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02521/1.085, allocations: 12.16 MB / 1.227 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/1.085, allocations: 0 / 1.227 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002744/1.088, allocations: 0.6243 MB / 1.227 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000905/1.089, allocations: 373.3 kB / 1.228 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000282/1.089, allocations: 79.95 kB / 1.228 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005567/1.094, allocations: 5.235 MB / 1.233 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.094, allocations: 7.938 kB / 1.233 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01427/1.109, allocations: 7.771 MB / 1.24 GB, free: 7.453 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004274/1.113, allocations: 1.306 MB / 1.242 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/1.114, allocations: 67.98 kB / 1.242 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004315/1.119, allocations: 444.8 kB / 1.242 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004139/1.119, allocations: 198.2 kB / 1.242 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003512/1.119, allocations: 143.9 kB / 1.242 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.006829/1.126, allocations: 4.092 MB / 1.246 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.126, allocations: 0 / 1.246 GB, free: 1.219 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.5625/1.689, allocations: 2.002 MB / 1.248 GB, free: 243.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 289 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01969/1.709, allocations: 8.901 MB / 1.257 GB, free: 240.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01104/1.72, allocations: 5.394 MB / 1.262 GB, free: 238.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/1.72, allocations: 3.438 kB / 1.262 GB, free: 238.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003797/1.724, allocations: 2.528 MB / 1.265 GB, free: 237.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01545/1.739, allocations: 3.164 MB / 1.268 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1463/1.885, allocations: 84.79 MB / 1.351 GB, free: 158 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006164/1.892, allocations: 4.744 MB / 1.355 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00712/1.899, allocations: 2.075 MB / 1.357 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00511/1.904, allocations: 2.667 MB / 1.36 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.924e-06/1.904, allocations: 0 / 1.36 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3479/2.252, allocations: 170.5 MB / 1.527 GB, free: 11.24 MB / 1.029 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002167/2.252, allocations: 262.4 kB / 1.527 GB, free: 10.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.206/8.458, allocations: 7.438 kB / 1.527 GB, free: 10.88 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading_fmu --startTime=0 --stopTime=14400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading.fmu > Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading_res.mat does not exist to compare? outputFormat=mat