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.0008179/0.0008224, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009126/0.0009125, allocations: 168.7 kB / 15.95 MB, free: 204 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.402/1.402, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.567/2.567, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003506/0.0003506, allocations: 11.94 kB / 0.8378 GB, free: 6.527 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8282/0.8285, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading): time 0.04904/0.8776, allocations: 51.55 MB / 1.031 GB, free: 2.598 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02274/0.9004, allocations: 16.82 MB / 1.048 GB, free: 1.734 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.9032, allocations: 71.56 kB / 1.048 GB, free: 1.664 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.9054, allocations: 0.6287 MB / 1.049 GB, free: 1.031 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006329/0.9118, allocations: 1.982 MB / 1.051 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003565/0.9154, allocations: 1.095 MB / 1.052 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.02342/0.9388, allocations: 23.61 MB / 1.075 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01155/0.9504, allocations: 7.142 MB / 1.082 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01244/0.9629, allocations: 5.3 MB / 1.087 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/0.9748, allocations: 5.473 MB / 1.092 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003611/0.9784, allocations: 344 kB / 1.092 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008391/0.9869, allocations: 0.7918 MB / 1.093 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.004193/0.9911, allocations: 1.525 MB / 1.095 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004804/0.9959, allocations: 1.607 MB / 1.096 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01392/1.01, allocations: 10.32 MB / 1.106 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.01, allocations: 0 / 1.106 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.575e-06/1.01, allocations: 0 / 1.106 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0005289/1.01, allocations: 0 / 1.106 GB, free: 5.621 MB / 0.8575 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.01882/1.029, allocations: 6.96 MB / 1.113 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/1.029, allocations: 8.031 kB / 1.113 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00341/1.033, allocations: 0.842 MB / 1.114 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/1.038, allocations: 0.8461 MB / 1.115 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/1.053, allocations: 6.468 MB / 1.121 GB, free: 6.328 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005962/1.054, allocations: 464.2 kB / 1.122 GB, free: 5.871 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002578/1.056, allocations: 0.5937 MB / 1.122 GB, free: 5.277 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0296/1.086, allocations: 8.989 MB / 1.131 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003616/1.086, allocations: 15.88 kB / 1.131 GB, free: 11.95 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002162/1.089, allocations: 264 kB / 1.131 GB, free: 11.69 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002677/1.089, allocations: 183.9 kB / 1.131 GB, free: 11.51 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/1.107, allocations: 7.41 MB / 1.139 GB, free: 4.094 MB / 0.8887 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.05695/1.164, allocations: 35.98 MB / 1.174 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006893/1.171, allocations: 4.274 MB / 1.178 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005122/1.176, allocations: 3.378 MB / 1.181 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/1.177, allocations: 0.9895 MB / 1.182 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004385/1.182, allocations: 2.375 MB / 1.185 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00315/1.185, allocations: 447.8 kB / 1.185 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=317): time 1.521e-05/1.185, allocations: 0 / 1.185 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of matching and sorting (n=317): time 0.0134/1.199, allocations: 7.09 MB / 1.192 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/1.199, allocations: 81.91 kB / 1.192 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01039/1.209, allocations: 5.424 MB / 1.197 GB, free: 5.699 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0008349/1.21, allocations: 93.64 kB / 1.197 GB, free: 5.602 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.003296/1.213, allocations: 3.192 MB / 1.2 GB, free: 2.375 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/1.215, allocations: 1.113 MB / 1.202 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005328/1.216, allocations: 88 kB / 1.202 GB, free: 1.16 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0004069/1.216, allocations: 499.6 kB / 1.202 GB, free: 0.6641 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004021/1.22, allocations: 2.14 MB / 1.204 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005087/1.225, allocations: 3.67 MB / 1.208 GB, free: 10.15 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005073/1.23, allocations: 2.9 MB / 1.211 GB, free: 7.227 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.397e-05/1.23, allocations: 16 kB / 1.211 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=569) (initialization): time 0.01391/1.244, allocations: 6.729 MB / 1.217 GB, free: 440 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.675e-05/1.244, allocations: 53.92 kB / 1.217 GB, free: 380 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.443e-05/1.244, allocations: 55.95 kB / 1.217 GB, free: 324 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/1.246, allocations: 437.3 kB / 1.218 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003545/1.249, allocations: 1.014 MB / 1.219 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006167/1.255, allocations: 5.247 MB / 1.224 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005135/1.26, allocations: 478.7 kB / 1.224 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006763/1.261, allocations: 216 kB / 1.224 GB, free: 8.668 MB / 0.9825 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.005172/1.266, allocations: 2.475 MB / 1.227 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001888/1.268, allocations: 0.5327 MB / 1.227 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01035/1.279, allocations: 5.239 MB / 1.233 GB, free: 352 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/1.279, allocations: 32 kB / 1.233 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/1.279, allocations: 8 kB / 1.233 GB, free: 312 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007084/1.286, allocations: 4.512 MB / 1.237 GB, free: 11.69 MB / 0.9981 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.7051/1.991, allocations: 11.96 MB / 1.249 GB, free: 243.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/1.991, allocations: 5 kB / 1.249 GB, free: 243.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003568/1.995, allocations: 0.6507 MB / 1.249 GB, free: 243.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/1.996, allocations: 375.2 kB / 1.25 GB, free: 243.1 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005578/1.996, allocations: 83.95 kB / 1.25 GB, free: 243.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006243/2.003, allocations: 5.17 MB / 1.255 GB, free: 240.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/2.003, allocations: 2.453 kB / 1.255 GB, free: 240.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01837/2.021, allocations: 7.599 MB / 1.262 GB, free: 237.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004278/2.025, allocations: 1.223 MB / 1.263 GB, free: 237.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001416/2.027, allocations: 68.92 kB / 1.263 GB, free: 237.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003998/2.031, allocations: 468.5 kB / 1.264 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004593/2.031, allocations: 197.8 kB / 1.264 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003137/2.032, allocations: 143.2 kB / 1.264 GB, free: 237.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005736/2.037, allocations: 3.762 MB / 1.268 GB, free: 235.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.61e-07/2.037, allocations: 3.781 kB / 1.268 GB, free: 235.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.007109/2.044, allocations: 1.979 MB / 1.27 GB, free: 235.6 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.01077/2.055, allocations: 8.538 MB / 1.278 GB, free: 231.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.007249/2.062, allocations: 5.356 MB / 1.283 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/2.063, allocations: 3.75 kB / 1.283 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003145/2.066, allocations: 2.505 MB / 1.286 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01436/2.08, allocations: 3.217 MB / 1.289 GB, free: 225.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1255/2.206, allocations: 51.23 MB / 1.339 GB, free: 171.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006086/2.212, allocations: 4.622 MB / 1.344 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.007074/2.219, allocations: 1.993 MB / 1.346 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004485/2.223, allocations: 2.674 MB / 1.348 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.442e-06/2.223, allocations: 0 / 1.348 GB, free: 161.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2271/2.45, allocations: 169 MB / 1.513 GB, free: 10.09 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/2.451, allocations: 261.3 kB / 1.513 GB, free: 9.738 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.609/8.06, allocations: 0 / 1.513 GB, free: 9.738 MB / 1.014 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